I have a app along with keystore file and sha1 value. But due to some errors I have to rebuild the app to another app. Now my sha1 value has been changed and I want to give the google play update to same app. I have everything from keystore password to keystore alias name. The google play console is giving this error : "Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again. Your app bundle is expected to be signed with the certificate with fingerprint:". How can I overcome this problem?
The name of your given file must be the same "name" you have in your package.json.
Related
My development and build environment for this Android app is Expo (React Native), and App signing is managed by Google Play.
I have already built and uploaded app bundles, this time I'm receiving error: Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again:SHA1: <SHA KEY>
I read couple of answers, but they are either a bit confusing, or not explained keeping in mind Expo.
I have verified that the slug name, and the app name is unchanged.
I have the .keystore file with me (it if makes sense).
I downloaded the Upload certificate from expo servers, and shared the same with Google Support, and requested them to update with this new certificate which I downloaded.
I have keystore however I forget password of it so I cant get apk in react-native.
Is there a way to find password of keystore file ?
You can apply bruteforce, dictionary, mixed strategies with software tools like Android Keystore Password Recovery: anyway it will require time.
In the event that you are in the need of updating an app in Play store, consider also asking for an upload key reset by Google, by providing a new upload_certificate.pem from fresh keystore to them.
I have published the app before using expo cli and let expo to handle all the credentials & apple certificates for me. And now I have changed the app name. How can i update the existing app? Where to get the .p12 file? From my apple developer account, I have download the .cer file but it's type is Apple Push Service which is unable convert to .p12 file. As my understanding, we need a certificate file which type is iPhone Distribution.
You can fetch the distribution certificate (p12) using this expo command:
expo fetch:ios:certs
You should be in the project root and it will write the certificate on disk and print the password.
Also make sure you are logged in with the right user (use expo whoami to check the user and expo login to login).
I want to upload my apps using Expo to app store connect. Unfortunately, it failed and return this message
ERROR ITMS-90163: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.developer.icloud-services' in 'Payload/ExpoKitApp.app/ExpoKitApp'."
I already tried couple ways to build the apps by:
let expo handle the certificate
Manually generate the provisioning profile and certificate itself
Any thoughts to solve this problem?
notes: I already defined a unique bundle identifier name as well and already detected on bundle id in My App on appstore connect
Thanks :)
For anyone who finds this now. If you are having this problem in the expo managed workflow, you need to do 2 things.
First, in your apple developer account dashboard you must navigate to Certificates, Identfiers and Profiles.
In Identifiers, you must edit the identifier and check the box next to ICloud (or any other of the features listed there that you want, e.g. Associated Domains for Universal Links)
Second, you must build with a new provisioning profile using:
expo build:ios -t archive --clear-provisioning-profile
You may manually provide a new provisioning profile or let expo handle it. If you choose not to revoke the previous provisioning profile, you should choose to use a new one when asked.
I am trying to implement APNS for my App and am hitting a wall while trying to generate a provisioning profile. I followed the instructions to create an APP id and was able to generate an SSL certificate for my App (the type is shown to be APNs development IOS). However, when I try to generate a provisioning profile, following the screen where I choose the AppID of my app, I do not see the SSL certificate I generate for this app. In the certificates list, I only see a certificate of type 'IOS development' that was created previously. I have been stuck on this issue for a while. Can someone please help?
Thanks
I resolved my own query. we need to add iOS development certificate while creating profile for APNS. You should have the p12 of that iOS development certificate.