Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(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"??

enter image description here

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?

like image 223
Yoga Utomo Avatar asked Nov 01 '25 09:11

Yoga Utomo


2 Answers

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.

like image 122
Yoga Utomo Avatar answered Nov 03 '25 23:11

Yoga Utomo


Please follow React-native's official 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?

like image 33
Kashan Haider Avatar answered Nov 04 '25 00:11

Kashan Haider



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!