Let Flutter plugin access a restricted Google Cloud API

Viewed 22

My Flutter app for Android uses the place_picker plugin, to which I pass the Maps API key as follows (from the docs):

PlacePicker("YOUR API KEY");

Everything works fine until I restrict the API usage to Android apps with my SHA1 signature, which works for all other packages I am using, namely the google_maps_flutter plugin, which uses that same API key.

Why does the API not work with the plugin? It's still running in my app signed by me. Thanks in advance.

enter image description here

0 Answers
Related