Skip to content

Commit

Permalink
fix(build.gradle): commenting signingConfigs
Browse files Browse the repository at this point in the history
to make development packaging working properly when run react-native run-android.

fix apiko-dev#118
  • Loading branch information
dhamanutd committed Feb 24, 2018
1 parent 8feb4b3 commit 3ba8919
Show file tree
Hide file tree
Showing 2 changed files with 7,836 additions and 15 deletions.
30 changes: 15 additions & 15 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ android {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
// signingConfigs {
// release {
// storeFile file(MYAPP_RELEASE_STORE_FILE)
// storePassword MYAPP_RELEASE_STORE_PASSWORD
// keyAlias MYAPP_RELEASE_KEY_ALIAS
// keyPassword MYAPP_RELEASE_KEY_PASSWORD
// }
// }
splits {
abi {
reset()
Expand All @@ -121,13 +121,13 @@ android {
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
// buildTypes {
// release {
// signingConfig signingConfigs.release
// minifyEnabled enableProguardInReleaseBuilds
// proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
// }
// }
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
Expand Down
Loading

0 comments on commit 3ba8919

Please sign in to comment.