-
Notifications
You must be signed in to change notification settings - Fork 368
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]: fallback alert is always shown on iOS #1664
Comments
Hello @vargajacint thanks for reaching out! We are looking into this. |
I'm suffering the same issue here. Pending to be resolved |
Until this is fixed I use:
since on IOS it works if no arguments are present. And on android it must have argument. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I have observed that even after explicitly setting the parameter to
false
in the method callOneSignal.Notifications.requestPermission(false);
, iOS still presents a fallback alert. Additionally, the function returns an array that contains a boolean value on iOS, instead of returning a boolean value directly.Everything is working correctly on Android as per the documentation.
Versions:
react-native-onesignal: 5.1.0
OneSignalXCFramework: 5.1.3
Steps to reproduce?
What did you expect to happen?
Not present the fallback alert if I call the function with
false
value. Also, the return value should be boolean on iOS as wellReact Native OneSignal SDK version
5.1.0
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: