-
Notifications
You must be signed in to change notification settings - Fork 219
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]: 5.0.4 Android SDK await addTagWithKey hangs #799
Comments
Hello @johanlantz thanks for reaching out! Just to clarify, are you using the Android native SDK and the |
This is using the Flutter SDK on an Android phone. I assumed it uses the native Android SDK under the hood but I guess the issue could also be in the plugin. |
Hey @johanlantz, |
Hi @johanlantz, thanks again for reporting this issue and your patience. We have released the fix in Release 5.1.0. Please update and reach out if you are still seeing issues. Thanks! |
What happened?
Migrating to 5.0.4 I am doing this init:
However since most of these functions are async I added await on them but using:
await OneSignal.User.addTagWithKey('aKey', 'aValue');
Causes Android to hang, took me quite some time to understand why the permission prompt did not show. In iOS it is fine.
There is a 202 response in the log for uploading the tag but does not work properly.
Steps to reproduce?
What did you expect to happen?
The sdk should not hang
OneSignal Android SDK version
5.0.4
Android version
13
Specific Android models
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: