Status Update
Comments
ca...@google.com <ca...@google.com>
ca...@google.com <ca...@google.com> #2
Thank you for posting.
We are currently looking into this and will get back to you as soon as we have an update.
br...@google.com <br...@google.com> #3
Thank you for posting.
We have logged this issue internally. Please note that we cannot give you any timelines, but you can star the issue to get notifications.
br...@google.com <br...@google.com> #4
Thank you for your patience.
In order for us to further handle the issue. May we request you to please share the following details:
- Steps to reproduce (Does this happen during initialization?)
- Reproducibility in sample/test/demo apps? (Yes/No)
- Issue frequency (e.g., 100%, 10%, For crashes x of y launches)
Thank you for your understanding.
be...@goflink.com <be...@goflink.com> #5
hi, thanks for your reply.
-
I am unable to reproduce the issue myself but I can see it is happening for 8 different users in Crashlytics but the issue happens to these users when they click the
start
button that's when we first our side sets the main camera perspective like thisprivate fun mainCameraPerspective() { if (ActivityCompat.checkSelfPermission( context, Manifest.permission.ACCESS_FINE_LOCATION ) != PackageManager.PERMISSION_GRANTED ) { eventsLogger.logError("main_camera_perspective_location_permission_enabled") return } googleMap?.followMyLocation(GoogleMap.CameraPerspective.TILTED) }
-
as I said I wasn't able to reproduce the issue but it does exist I will attach 4 different variants stack traces maybe this will help
br...@google.com <br...@google.com> #6
Thank you for your cooperation.
We have received your provided details. Please note that we cannot give you any timelines, but you can star the issue to get notifications.
br...@google.com <br...@google.com> #7
Thank you for your patience.
Based on our investigation, the issue may be related to holding a reference to a stale GoogleMap. We recommend avoiding caching GoogleMap
and instead deriving it directly from NavigationView
or SupportNavigationFragment
.
Could you try this approach and let us know if it resolves the issue?
Thank you for your understanding.
Description
Hi guys, I noticed a crash happening inside the
com.google.android.libraries.navigation:navigation
library caused byI have attached the full stack trace but this one is tricky debugging I can see it is happening when we are setting the camera perspective using the
followMyLocation
method but we already have null safety on our side like this:googleMap?.followMyLocation(GoogleMap.CameraPerspective.TILTED)
so I think this might be happening inside the SDK itself