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]: Open Settings alert keep prompt out #1755

Closed
2 of 3 tasks
cre8tech-developer opened this issue Oct 18, 2024 · 1 comment
Closed
2 of 3 tasks

[Bug]: Open Settings alert keep prompt out #1755

cre8tech-developer opened this issue Oct 18, 2024 · 1 comment

Comments

@cre8tech-developer
Copy link

cre8tech-developer commented Oct 18, 2024

What happened?

I've encountered an issue with the iOS notification permission flow using OneSignal. When we call OneSignal.Notifications.requestPermission(true), the expected prompt appears, allowing the user to either click "Allow" or "Don't Allow." However, regardless of the user's choice, an alert to open the Settings may unexpectedly appear.

Steps to reproduce?

1.Set OneSignal.Notifications.requestPermission(true) 
2.Click "Allow" or "Don't Allow"
3."Open Settings" alert will prompt out

What did you expect to happen?

Should not show "Open Settings" alert

React Native OneSignal SDK version

5.2.3, 5.2.5

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

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

@cre8tech-developer have you solved this issue?

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

2 participants