xamarin-docs
xamarin-docs copied to clipboard
Docs for obtaining Google Maps API Key should include instructions Play App Signing
The docs (docs/android/platform/maps-and-location/maps/obtaining-a-google-maps-api-key.md) for obtaining a Google Maps API Key for Android apps should include a section on what to do when using Google Play Signing.
Under the Obtaining the API Key section, instructions are given for adding the SHA-1 certificate fingerprint for the debug keystore and the release keystore.
This won't work if you are using Play App Signing to sign your app. In this case, you need to add the certificate fingerprint from the Play signing certificate.
The Google Maps API docs (https://developers.google.com/maps/documentation/android-sdk/get-api-key) include this detail:
For information about getting your certificate fingerprint, see Authenticating Your Client. If you're using Play App Signing instead, you must go to the app signing page on the Play Console to get your certificate fingerprint.
Here's a blog post which describes the issue in detail: https://blog.johndotnet.nl/why-doesnt-googlemaps-work-after-releasing-it-to-the-google-play-store/
Please update the Xamarin docs 😄