Android Question White Google Map when uploading to Play Store

hatzisn

Well-Known Member
Licensed User
Longtime User
Hi everybody,

I created an app and upload it with B4A Bridge in my Samsung Galaxy Grand Neo device.
I created an API Key for Google Maps and I restricted the API Key to my application.
Everything worked perfect in my device and I decided to create a video with the use of my application
by utilizing a Google Play Emulator. So far I was not able to do so as you can see in this thread:

https://www.b4x.com/android/forum/threads/google-maps-in-emulator.91875/

So I decided it to bypass the installation from B4A by uploading my app to Google Play and trying to download it and install it in the emulator from play store. When I did so it installed on the emulator ok but I got a white google map.

I searched in the search box of b4x community and found the following:
https://www.b4x.com/android/forum/t...ps-when-uploading-to-google-play-store.82451/

I googled it more and I 've found an answer in stackoverflow that mentioned that you have to add to the restrictions in SHA-1 of the Google API the new obligatory signing of the app (new SHA-1). I did so but nothing changed both in my device and the emulator. In device the map shows up even though I removed the installation SHA-1 (SHA-1 during upload) from the restrictions in Google Map Api and in the emulator the map does not show up even though I added the new SHA-1 from google app store signing.
Any suggestions?

Please try my application and see for yourself if map appears. Please right bellow if it appears.
https://play.google.com/store/apps/details?id=dhqi.parking.reminder

Thanks
 
Last edited:

klaus

Expert
Licensed User
Longtime User
... and I decided to create a video with the use of my application
You can make a video of your application directly from the IDE with a USB connection to your device.

upload_2018-4-18_20-45-11.png
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Thanks. It seems it worked as I have added both keys in Google API Restrictions with the same package. Did you have to update to the latest Google Play Services with this update? Did you notice anything strange when you pressed the [Set Parking Position]? F.e. the locating panel being behind the alarm clock of [Show last parking position]?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Did you have to update to the latest Google Play Services with this update?
No, I downloaded it and ran it directly.
Did you notice anything strange when you pressed the [Set Parking Position]?
Yes, I didn't notice it the first time I was just checking if the map was displayed.
 
Upvote 0
Top