-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANR - com.onesignal.GMSLocationController$FusedLocationApiWrapper.requestLocationUpdates (GMSLocationController.java:201) #1612
Comments
Hi @eugurguner, Thank you for reporting this issue. This is an ANR that has been reported by others, and that we are investigating. Please let us know some information:
|
@nan-li Hello, I would like to answer your questions,
|
We've seen this too. Here are the stats I have for ANRs in recent releases:
So it looks like the number of occurrences has accelerated in 4.81 vs 4.80 These ANRs are happening to a very small percentage of users, but app-wide are the most common ANRs reported. |
Hi @eugurguner and @jt-gilkeson, Thank you for sharing those details. As a workaround while we investigate solutions, if you don't need location points in OneSignal, you can call |
@nan-li thank you. I just wanted to update that this issue keeps happening. Therefore, I used the function |
It is weird, Why after closing the location still getting location related crashes? I did also set:
Still getting the same ANR! Root Blocking:
Triggered ANR:
|
Did anyone manage to find a solution to this problem? I reported the same bug here. It continues to be at the top of our ANRs list, and I'm still unable to determine the root cause. I've also upgraded the OneSignal SDK to the latest version, but the issue persists. |
+1 |
What happened?
Since from May 24th, 32 of my users had an ANR issue of com.onesignal.GMSLocationController$FusedLocationApiWrapper.requestLocationUpdates (GMSLocationController.java:201).
Environment
What version of the Android SDK are you using? 4.7.0 - 4.8.0
How did you add the SDK to your project ? Maven
Anything else:
A lot of these instances don't have any stack traces and the ones that have as the thread with below stack trace blocked.
Steps to reproduce?
What did you expect to happen?
I expected that no ANR issue would happen to any of my users.
OneSignal Android SDK version
Release 4.7.0 - 4.8.0
Android version
12, 11
Specific Android models
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: