I built an android application using expo build:android and when I upload the app to Google Play Console it returns an error saying that the certificate is wrong.
I go to App Integrity in Google Play Console and I can see the keys (App signing key certificate):
expo build:android gives you the option to override your existing credentials:
Usage: build:android|ba [path] [options]
Build and sign a standalone APK or App Bundle for the Google Play Store
Options:
-c, --clear-credentials Clear stored credentials.
--release-channel <channel-name> Pull from specified release channel. (default: default)
--no-publish Disable automatic publishing before building.
--no-wait Exit immediately after triggering build.
--keystore-path <app.jks> Path to your Keystore.
--keystore-alias <alias> Keystore Alias
--generate-keystore [deprecated] Generate Keystore if one does not exist
--public-url <url> The URL of an externally hosted manifest (for self-hosted apps)
--skip-workflow-check Skip warning about build service bare workflow limitations.
-t --type <build> Type of build: [app-bundle|apk].
--config [file] Specify a path to app.json or app.config.js
-h, --help output usage information