Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google maps not showing after uploading the app to playstore

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.

like image 414
Anoop Avatar asked Sep 13 '17 07:09

Anoop


2 Answers

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

Image

like image 141
Zafar Kurbonov Avatar answered Oct 17 '22 14:10

Zafar Kurbonov


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

like image 23
Anoop Avatar answered Oct 17 '22 16:10

Anoop