OneSignal-Unity-SDK
OneSignal-Unity-SDK copied to clipboard
[Bug]: fallbackToSettings TRUE shows go to settings alert on IOS
What happened?
For version 5.0.5, when I initialize the SDK and call the permission request with fallbackToSettings: true, it always shows the 'your notifications are turned off, go to settings' prompt. In the settings app, notification permission is granted, and I can send push notifications to that device.
Steps to reproduce?
1. Install 5.0.5
2. init sdk like this
OneSignal.Initialize({oneSignalId});
bool result = await OneSignal.Notifications.RequestPermissionAsync(true);
3. Accept permission
4. A new promt will show with this text "You currently have notifications turned off for this application. You can open
Settings to re-enable them"
What did you expect to happen?
Not seeing this alert because I accepted the notifications
Unity version
2022.3.6 LTS
OneSignal Unity SDK version
5.0.5
Platform
iOS
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thanks for reporting, we will attempt to reproduce the issue and get back to you.
Same Here
@Uaghazade1 thanks for letting us know, could you also let us know which version of the OneSignal SDK you tested with?