chichi
chichi

Reputation: 3292

Flutter Google Map works on debug but does not work if I download from Play Store

Google map on Flutter debug works fine, however, when I upload it to Play Store, it does not work anymore. I feel like there is something to do with the API Key settings. However, I am wondering what I have to change.

My key is restricted on Android apps with the package name and SHA-1 key. And, I think this is the problem?

How can I change the setting to make this work from Google Play Store

Upvotes: 0

Views: 324

Answers (1)

BIS Tech
BIS Tech

Reputation: 19434

If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported attribute for these app components.

more info click here

Upvotes: 1

Related Questions