OneSignal/react-native-onesignal

[Bug]: Hide system alert when fallBacktosettings is passed as false or permission is granted for iOS

iamrohitagg opened this issue · 0 comments

What happened?

I am requesting the permission through OneSignal.Notifications.requestPermission(false); but even if I accept the permission request it still shows me the alert as shown below.
image

Steps to reproduce?

Install app and the alert will display right after request notification permission.

What did you expect to happen?

No Alert must show if permission is granted.

React Native OneSignal SDK version

5.2.7

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