-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
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: #22665 Differential Revision: D13490480 Pulled By: hramos fbshipit-source-id: 9d0ca4debde2ddbde0d4a611b9b41fc24235314a
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,8 +112,22 @@ android { | |
include "armeabi-v7a", "x86", "arm64-v8a" | ||
} | ||
} | ||
signingConfigs { | ||
debug { | ||
storeFile file('debug.keystore') | ||
storePassword 'android' | ||
keyAlias 'androiddebugkey' | ||
keyPassword 'android' | ||
} | ||
} | ||
buildTypes { | ||
debug { | ||
signingConfig signingConfigs.debug | ||
} | ||
release { | ||
// Caution! In production, you need to generate your own keystore file. | ||
// see https://facebook.github.io/react-native/docs/signed-apk-android. | ||
signingConfig signingConfigs.debug | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gengjiawen
Author
Contributor
|
||
minifyEnabled enableProguardInReleaseBuilds | ||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | ||
} | ||
|
This file was deleted.
This file was deleted.
Hi @gengjiawen,
Does it makes sense to remove line # 130 with signingConfigs.debug usage in release buildTypes?
This line makes impossible to use Microsoft App Center Build service for React Native Android without removing that line.
See this issue - microsoft/appcenter#878
React Native documentation already says about adding "signingConfig" in release buildTypes when developers prepare signed release builds.
Do you see a reason to keep this line in React Native template?