diff --git a/.gitignore b/.gitignore index 5d64756..b34f55a 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,10 @@ buck-out/ # Bundle artifact *.jsbundle + +# RN android release +android/app/bin/ +android/app/release/ +android/app/src/main/assets/index.android.bundle +android/.project +android/app/.project diff --git a/android/app/build.gradle b/android/app/build.gradle index 6348b76..f33fb0e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -108,6 +108,16 @@ android { abiFilters "armeabi-v7a", "x86" } } + signingConfigs { + release { + if (project.hasProperty('DRIP_RELEASE_STORE_FILE')) { + storeFile file(DRIP_RELEASE_STORE_FILE) + storePassword DRIP_RELEASE_STORE_PASSWORD + keyAlias DRIP_RELEASE_KEY_ALIAS + keyPassword DRIP_RELEASE_KEY_PASSWORD + } + } + } splits { abi { reset() @@ -120,6 +130,7 @@ android { release { minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + signingConfig signingConfigs.release } } // applicationVariants are e.g. debug, release diff --git a/android/gradle.properties b/android/gradle.properties index 1fd964e..913bbb4 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -18,3 +18,4 @@ # org.gradle.parallel=true android.useDeprecatedNdk=true +android.enableAapt2=false \ No newline at end of file