Skip to content

Commit 1ad2e25

Browse files
committed
Made it possible to build APKs of the example app, for testing release builds
1 parent 50090ca commit 1ad2e25

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ android {
132132
release {
133133
minifyEnabled enableProguardInReleaseBuilds
134134
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
135+
signingConfig signingConfigs.debug
135136
}
136137
debug {
137138
minifyEnabled false

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"android": "react-native run-android",
1515
"ios": "react-native run-ios",
1616
"apk": "cd android && ./gradlew assembleRelease",
17+
"apk-install": "adb install -r android/app/build/outputs/apk/release/app-release.apk",
1718
"rename": "node ./bin/rename.js",
1819
"start": "react-native start",
1920
"test": "jest"

0 commit comments

Comments
 (0)