Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit 1c1b5ae

Browse files
committed
Update example project
1 parent 6d89812 commit 1c1b5ae

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

example/android/app/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,22 @@ android {
115115
include "armeabi-v7a", "x86"
116116
}
117117
}
118+
signingConfigs {
119+
release {
120+
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
121+
storeFile file(MYAPP_RELEASE_STORE_FILE)
122+
storePassword MYAPP_RELEASE_STORE_PASSWORD
123+
keyAlias MYAPP_RELEASE_KEY_ALIAS
124+
keyPassword MYAPP_RELEASE_KEY_PASSWORD
125+
}
126+
}
127+
}
118128
buildTypes {
119129
release {
130+
debuggable true
120131
minifyEnabled enableProguardInReleaseBuilds
121132
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
133+
signingConfig signingConfigs.release
122134
}
123135
}
124136
// applicationVariants are e.g. debug, release

example/android/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@
1818
# org.gradle.parallel=true
1919

2020
android.useDeprecatedNdk=true
21+
MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
22+
MYAPP_RELEASE_KEY_ALIAS=my-key-alias
23+
MYAPP_RELEASE_STORE_PASSWORD=test1234
24+
MYAPP_RELEASE_KEY_PASSWORD=test1234

0 commit comments

Comments
 (0)