Skip to content
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]: fallbackToSettings TRUE shows go to settings alert on IOS #694

Open
1 task done
dogukankse opened this issue Jan 30, 2024 · 4 comments
Open
1 task done

[Bug]: fallbackToSettings TRUE shows go to settings alert on IOS #694

dogukankse opened this issue Jan 30, 2024 · 4 comments

Comments

@dogukankse
Copy link

dogukankse commented Jan 30, 2024

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

  • I agree to follow this project's Code of Conduct
@jkasten2
Copy link
Member

jkasten2 commented Mar 7, 2024

Thanks for reporting, we will attempt to reproduce the issue and get back to you.

@Uaghazade1
Copy link

Same Here

@jkasten2
Copy link
Member

@Uaghazade1 thanks for letting us know, could you also let us know which version of the OneSignal SDK you tested with?

@Steffi3rd
Copy link

Same here using "onesignal-expo-plugin": "^2.0.2",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants