Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Map not showing in Firebase Test Lab

I used Firebase Test Lab Robo Test to test my application and I found the map is not showing

enter image description here

I know it looks like I didn't properly set up the package names and SHA1s of my Maps API. But the truth is:

  1. My Google Maps API is enabled

  2. The package name and the SHA1 of keystore files are added in API settings (both debug and release)

  3. The map can be showed on my real devices as well as the emulator in Android Studio

Any ideas?

like image 985
Carter Chen Avatar asked Oct 27 '25 21:10

Carter Chen


2 Answers

Update 11/2023: The re-signing doesn't seem to happen any more. The SHA-1 signature doesn’t change.

I suspect that Firebase Test Lab re-signs your app for testing, and therefore changes the SHA-1 signature.

The Google Play pre-launch report, which is based on Firebase Test Lab, mentions that the app will be re-signed in its docs:

As of October 2017, the pre-launch report uses a new crawler to provide a more comprehensive review of your app. To do so, the pre-launch report must temporarily re-sign your APK or app bundle within our test environment.

like image 191
Alexander Kurnikowski Avatar answered Oct 29 '25 10:10

Alexander Kurnikowski


I have same problem and solve it by deactiving the Firebase Test Lab re-signs:

Pre-launch reports are automatically generated when you publish an app to the open, closed, or internal test track. To disable all pre-launch reports for your app:

Sign in to your Play Console.

Select an app.

Select Release management > Pre-launch report > Settings.

Next to "Enable pre-launch reports," move the switch to the left until it turns gray. If you want to turn pre-launch reports on again at a later time, move the switch back to the right until it turns blue.

like image 41
KanaDev Avatar answered Oct 29 '25 10:10

KanaDev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!