You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app I am handling the notification permission. Previously I was using version 4.x. Now migrated to 5.x. Before releasing I was testing the notification and found a serious thing. Don't know I am missing or it is a bug.
After giving the permission it is showing that permission not granted in the one signal dashboard. When I relaunch the app then status updated to subscribed.
This is serious issue. Many user do not open app second time for many days. If this is the case user will not receive push notification.
Steps to reproduce?
1. Newly install the app
2. Give notification permission
3. Get the id from the log
4. Check in the onesignal dashboard
What did you expect to happen?
Update the status immediatly
OneSignal Android SDK version
5.1.8
Android version
13
Specific Android models
Xiaomi Redmi Note 12
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
@souravpalitrana could you share the SDK method you are using to prompt for notification permission? OneSignal.User.pushSubscription.optIn() or OneSignal.Notifications.requestPermission() or something else? If you are not prompting with OneSignal this is a known issue:
If you are prompting with OneSignal can you enable OneSignal VERBOSE logging and share your logcat so we can help debug the issue? Also share when and where in your app you are prompting.
@jkasten2 I am using OneSignal.Notifications.requestPermission(). After granting permission I have to manually trigger optIn as well to get update in the dashboard.
@souravpalitrana are you also calling OneSignal.login() around the same time is accepting the permission prompt? If so then you were most likely running into the issue noted below which is fixed today: #2121 (comment)
What happened?
In my app I am handling the notification permission. Previously I was using version 4.x. Now migrated to 5.x. Before releasing I was testing the notification and found a serious thing. Don't know I am missing or it is a bug.
After giving the permission it is showing that permission not granted in the one signal dashboard. When I relaunch the app then status updated to subscribed.
This is serious issue. Many user do not open app second time for many days. If this is the case user will not receive push notification.
Steps to reproduce?
What did you expect to happen?
Update the status immediatly
OneSignal Android SDK version
5.1.8
Android version
13
Specific Android models
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: