Search code examples
androidreact-nativeapkexpo

How to sign Expo app APK to update existing App on Google Play Store?


I have an EXPO app and I already created and published it on Google Play Store. The Google App Signing is activated for this project. Now I want to update this APK in this project. I used the command 'expo build:android' to build the updated APK. But when I send it to my project on Play store, it says that the certificate is wrong ('Upload failed You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate').


Solution

  • If you chose to let Expo handle the process: Clear the credentials, let Expo handle the process, and fetch the upload key. Contact google (you find the contact options in Play Console at the area “Google App Signing”. Once you filled the form, they will write you and ask for the new PEM with instructions to get it. You can follow the instructions or just chose to let Expo handle it (its easier). Reply to the email and add the fetched upload-cert as attachment. Wait 2-3 business days. Upload your generated APK.