-
Notifications
You must be signed in to change notification settings - Fork 371
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
[Bug]: IllegalStateException GoogleApiClient is not connected yet. #1821
Comments
Hello @tajchert thank you for reaching out! I haven't been able to reproduce this issue. Are you able to personally reproduce this on your test devices? Or are you just getting reports of these crashes? Could you share the OneSignal init code you are using and the OneSignal methods you are calling? |
Same problem here. This is my init code: class MyApplication : Application() {
[...] I've some calls to But they are called later in the application |
Also seeing this same crash after migrating from 4.8.6 to 5.0.3 in our last release I'm not sure if setting the following is needed for 5.0.x (we don't have this set currently): Additional info: all the crashes are in the background and mostly on Samsung phones so far. It looks like when setting |
Shipped a hotfix that sets |
Hi everyone, thanks for your patience! Just an update that a fix for this has been added in our latest release, 5.1.0. |
What happened?
Crash is affecting some of my users (7 of them).
Steps to reproduce?
-
What did you expect to happen?
No crash.
OneSignal Android SDK version
5.0.0
Android version
13, 12, 11
Specific Android models
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: