Google maps showing a blank screen after uplaoding the app into playstore. But Map showing when running locally(in emulator). I tried by changing the SHA1 of google map api by Playstore app signing certificate SHA fingerprint but still showing the blank screen.
Please run the app first in real device and if it working then do as follow.
If u have enabled the App Signing Feature in the Developer Console, then it's clearly written in the documentation that the Upload Certificate is only needed by Google for authentication and that upload certificate is removed before installing the application on the user's phone. So, u also need to give the App Signing Certificate SHA under the key which you have enabled for Google Maps API. The App Signing Page is as I have attached the screenshot for your convenience... In the image I have marked which you need to give as additional credentials
Thanks for all the answers.
There are two google_maps_api.xml files in the app one for debug and another for release.
release : app\src\release\res\values\google_maps_api.xml
debug : app\src\debug\res\values\google_maps_api.xml
In my case the api key was blank in release google_maps_api.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With