简体   繁体   中英

(React Native) How to uploading App Signing Key to Google Play Console?

im developing an app in react native, but i have some problem in deploying to Play Store. I already generating an upload key using keytool as the react native's documentation said, and i got a file named <my-upload-key>.keystore . Im done with editting build.gradle and gradle.properties to configure my upload key.

My problem is what should i choose with these options, should i choose "Let Google create and manage my app signing key (recommended)" OR "Export and upload a key and certificate" ??

在此处输入图片说明

Once i choosed the "Let Google create and manage my app signing key" , then my app successfuly uploaded and published in playstore, but when i download it from play store, my app wont open and only show white blank screen. My app running well when im using generated APK from react native.

If i choose Export and upload a key and certificate , they want the file uploaded as zip file containing the PEM file.

Am i miss a step in uploading the app to Play Console?

Please follow React-native'sofficial documentation for signing APK & Publishing to Playstore

Just signing with the method described in Official Documentation and Publish to Playstore with "Let Google create and manage my app signing key". when you succesfully publish you will get new signing certificate and credential so next time you can use this new certificate for signing your APK .

If your App was succesfully published but it is not working or getting crashed there must be an error in your App, are you 100% Sure that it was mistake in publishing not in App?

i already solve my problems. The problem is not on my signing key or upload key or generated keystore. All is fine by choosing letting google to manage our signing key. But the problem is on the SoLoader in react-native 0.61.4 , many people have same issue with me, the issue was the app being force closed when the app uploaded to playstore or shows only white blank screen.

The solution is to add some configuration on android/app/build.gradle Here is the code to add in build.gradle

 configurations.all { resolutionStrategy { force "com.facebook.soloader:soloader:0.8.0" } }

add this code to the file's root, all is done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM