Trying to connect Google Play app to Firebase, but get "No matching Play apps found"

Viewed 187

I want to connect app from Google Play to Firebase, but it's saying

No matching Play apps found. Please check Play Console to make sure you have access to an app with the same package name, and that a package has been uploaded to Play.

Usually the problem is mismatch of package name, but I tripple checked that it's the same in AndroidManifest, in build.gradle and in google-services.json, and it also matches to the app in Firebase. I've also checked app fingerprints and they match the app that is on Google Play. I've downloaded google-services.json from Firebase and compared it to what we have and it's identical. Everything matches. Also worth noting is that we see Crashlytics and Analytics data in Firebase, all working well. It's just that the explicit connection to Google Play is not working (we want it so we can also see revenue from within Firebase, and some other things).

What is wrong?

I spent hours on this but only found 1 similar question on SO without answers.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

1 Answers

Okay, so I finally was able to resolve this! I had to upload an internal testing aab app directly into the Google Play store. So basically I went through all the play store setup, and manually uploaded the android asset and ONLY then I was able to see the "Link" on firebase to actually link the two.

Really surprised this isn't explained anywhere, but seems you need to have the app uploaded in the play store FIRST with the same package name, and then Firebase/Google Play console gives you the option to link.

Related