The current app is live on the Google Play store and it was developed in React Native by another developer who is no longer with the company.
We decided to build a new app, using FlutterFlow. Flutterflow used codemagic behind the scenes to deploy the build to the Google Play store.
Instead of creating a new app, we simply just want to release a new version, leaving our existing user base and settings from the Play Store.
We are deploying on the internal track and we are creating an internal release and uploading the .abb. however, we are met with the error below
The Android App Bundle was signed with the wrong key. Found: xxxxxx, expected: SHA1: xxxxxx
I am a bit lost in creating new upload keys, because we use FlutterFlow for build/deployment.
What is the best way of fixing this issue to release a new version of our app?
If possible, retrieve the original keystore file used by the previous developer. This is crucial for updating the existing app on Google Play Store.
Then you would be able to update the configuration in FlutterFlow or Codemagic: If FlutterFlow allows you to specify a custom keystore for signing, update the configuration to use the original keystore. The specifics would depend on FlutterFlow's interface or, alternatively, Codemagic if you have direct access to it.
To retrieve the old key, this thread suggests:
You have the general Android Studio method here and in "Play Console Help / Use Play App Signing".
Regarding FlutterFlow, check if you can follow "FlutterFlow | Build and release an Android app on Google Play Store " from Tarlan Isaev.
build.grudle:key.properties:Sign, then build with: