Status Update
Comments
iv...@google.com <iv...@google.com> #2
i am using these dependencies for the map
// Maps SDK for Android KTX Library implementation 'com.google.maps.android:maps-ktx:3.0.0'
// Maps SDK for Android Utility Library KTX Library
implementation 'com.google.maps.android:maps-utils-ktx:3.0.0'
implementation 'com.google.android.gms:play-services-base:18.5.0' implementation 'com.google.android.gms:play-services-basement:18.5.0' implementation 'com.google.android.gms:play-services-maps:19.0.0'
and also getting some map sdk error as well dab File created: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_1 dab Couldn't create marker: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_2 dab Marker deleted: _google_maps_sdk_crash_count_1
sf...@life360.com <sf...@life360.com> #3
Thank you for posting.
We are currently looking into this and will get back to you as soon as we have an update.
iv...@google.com <iv...@google.com> #4
Thank you for waiting.
We'll need some more details to troubleshoot this issue - please provide the following, in particular steps to reproduce the issue:
-
Put together a simplified reproduction case (
http://sscce.org/ ) and add it to a git hosting provider (e.g. github, bitbucket, etc)? The easiest way to do this might be to fork the Google Maps Android API Samples Repository and modify one of the existing demo activities:https://github.com/googlemaps/android-samples -
List steps to reproduce the problem
- Maps SDK client library version (used to build your app):
- Maps renderer (Latest or Legacy):
- Devices you have verified this issue on:
- Google Play Services version on the device:
- Android version:
- Manufacturer and model:
- Was this working correctly on a previous version of Google Play Services? (If yes, which client library and SDK version?)
-
Attach the following:
- screenshots
- sample code
- an APK if possible.
-
Complete stacktrace when the issue occurs
iv...@google.com <iv...@google.com> #5
With regards to the Map tiles not loading, I'd like to ask the following details to look into this further:
- Once the users got a blank map, how did they recover? Did panning or zooming the blank map resolve the problem?
- Is this issue happening after the app is open for many days?
sf...@life360.com <sf...@life360.com> #6
Once the users got a blank map, how did they recover? Did panning or zooming the blank map resolve the problem?
We had a feature flag to control which renderer to use. We switched to LEGACY renderer for the users who reported the bug and some of them got back and confirmed that resolved the issue.
Is this issue happening after the app is open for many days?
Based on the reports, yes. One user said it's been going on for months (possibly hyperbole but probably means many days). Another user reported reinstalling, restarting and switching to satellite view as troubleshooting steps so again assuming it was persistent for them.
to...@gmail.com <to...@gmail.com> #7
Same thing happened to me too. Many users complained, and sales were cut in half. it's awful.
I just put it in legacy mode and released it quickly.
iv...@google.com <iv...@google.com> #8
#6 thank you for the additional info. #7, we would also greatly appreciate if you can provide us a reproducible example so that we could take a look into this further and help fix the issues you are encountering.
is...@google.com <is...@google.com>
ra...@google.com <ra...@google.com>
sf...@life360.com <sf...@life360.com> #9
Hello, why is this marked as obsolete? Has the issue been fixed?
as...@google.com <as...@google.com> #11
#9: we reached out to you via an email to check some details of this issue.
ri...@isharingsoft.com <ri...@isharingsoft.com> #12
I have a scenario that reproduces the issue easily: When the app is re-installed and data is restored from a backup, the symptom occurs with very high frequency.
as...@google.com <as...@google.com> #13
#12: could you please provide more details on how do you "reinstall app and restore data from backup"?
- Do you use backup and restore feature in Android?
https://support.google.com/android/answer/2819582 - Does it mean you install an app on a device, backup the device data, uninstall the app, re-install it, restore the device data, and then launch the app?
We will try reproducing the issue with our sample app:
ri...@isharingsoft.com <ri...@isharingsoft.com> #14
as...@google.com <as...@google.com> #15
#14: could you please make a video recording or screencast on how you reproduce the issue, and the logcat when the issue happens? If you prefer to share them privately, please file a support case to us and attach them there:
I cannot reproduce the issue, but perhaps it is because I'm missing the details on how to restore the device data. There is no explicit "Restore" feature on my devices.
be...@isharingsoft.com <be...@isharingsoft.com> #16
Here was the scenario:
1. login
2. android backup
3. delete the app
4. Install from PlayStore
5. Data should be recovered from Backup
6. empty google map
Reflecting on the situation when the issue occurred a few days ago, we are suspecting two possible causes:
1. Overlooking developer guidance (
both MapsInitializer.initialize() and the onMapReady() callback are using to initialize the map. Since this was likely done during a transitional period when both the latest and legacy renderers were used together to avoid OOM (Out of Memory) issues by explicitly setting the render type.
2. A temporary workaround was used a few days ago, enforcing the legacy render with MapsInitializer.initialize() to resolve an empty map loading issue.
However, at that time, an Android backup was taken, and an OOM issue occurred afterward. So, we then reverted to the latest render and the app was reinstalled again.
The issue seemed to reproduce based on the above scenario.
To summarize again:
- Using both MapsInitializer and onMapReady for map loading
- Reinstalling the app with the latest render, while restoring from an Android backup based on the legacy render.
In these circumstances, could the empty map issue occur?
ev...@indriver.com <ev...@indriver.com> #17
Issue appears when user simply opens screen with GoogleMap view. The problem goes away completely when we disable LATEST map renderer. When issue appears, I can see nothing in logs, all map callback works as usual. Google logo appears on the screen. Even if user touches the map - we receive only event from OnCameraMoveStartedListener, but never from OnCameraIdleListener. If you need any additional information - please let me know.
as...@google.com <as...@google.com> #18
#17: does the issue happen on your app? Or can you reproduce using our sample app (
Have you found other devices where you can reproduce the issue?
ev...@indriver.com <ev...@indriver.com> #19
Yes. Additionally, we have several complaints from users.
>Or can you reproduce using our sample app
I have troubles with bring sample map app to work (api key issues, I have no access to play console), so not yet.
>Have you found other devices where you can reproduce the issue?
No, just one device yet.
as...@google.com <as...@google.com> #20
#19: could you please help adding some instrumentation codes in your app to troubleshoot this?
We would like to know:
- How long it takes:
- from the time your app gets a map instance (typically by calling
)SupportMapFragment.getMapAsync()
- until the time
is called.GoogleMap.onMapLoadedCallback
- from the time your app gets a map instance (typically by calling
- Or could it be that
onMapLoadedCallback
is not called at all?
Once you add the codes, please reproduce the issue, and soon after capture
Since the report contains detailed informations about your device and apps, please send the bug report
Description
What steps will reproduce the problem?
We are seeing reports from some users about the map loading with blank gray or black tiles. The markers load correctly. These are user reports, we haven't been able to reproduce and unsure about the scale of the problem.
Also add the following details:
Maps SDK client library version (used to build your app): 18.2.0
Maps renderer (Latest or Legacy): Latest
Devices you have verified this issue on (multiple other reports but these were confirmed to be fixed by reverting to legacy renderer):
Was this working correctly on a previous version? If yes, which version (client library, Android, Google Play Services versions)? Switching to LEGACY renderer seems to fix the issue.
Play Store link:https://play.google.com/store/apps/details?id=com.life360.android.safetymapd
You can sign up for a free account and the map will load. It's not consistently reproducible though.