Search code examples
androidreact-nativestorekeystoreplayback

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


Solution

  • 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.