Skip to content

Commit 63ebbd6

Browse files
gengjiawenfacebook-github-bot
authored andcommitted
add basic signature in template (facebook#22665)
Summary: react-native-community/cli#38. add basic signature in template. Signature file is the same as RNTester. pass all current ci. [Android] [Feature] - add basic signature in template Pull Request resolved: facebook#22665 Differential Revision: D13490480 Pulled By: hramos fbshipit-source-id: 9d0ca4debde2ddbde0d4a611b9b41fc24235314a
1 parent 871b763 commit 63ebbd6

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

template/android/app/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,22 @@ android {
112112
include "armeabi-v7a", "x86", "arm64-v8a"
113113
}
114114
}
115+
signingConfigs {
116+
debug {
117+
storeFile file('debug.keystore')
118+
storePassword 'android'
119+
keyAlias 'androiddebugkey'
120+
keyPassword 'android'
121+
}
122+
}
115123
buildTypes {
124+
debug {
125+
signingConfig signingConfigs.debug
126+
}
116127
release {
128+
// Caution! In production, you need to generate your own keystore file.
129+
// see https://facebook.github.io/react-native/docs/signed-apk-android.
130+
signingConfig signingConfigs.debug
117131
minifyEnabled enableProguardInReleaseBuilds
118132
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
119133
}
2.2 KB
Binary file not shown.

template/android/keystores/_BUCK

Lines changed: 0 additions & 8 deletions
This file was deleted.

template/android/keystores/debug.keystore.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)