We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When requesting the push permission on iOS the response is an array instead of a boolean.
OneSignal.Notifications.requestPermission(false).then((accepted) => { console.log(accepted); // [true] of [false] });
1. Install v5.0.4 of react-native-onesignal 2. Call `requestPermission(false)`
I expect the requestPermission method to return a boolean instead of an array.
requestPermission
5.0.4
No response
The text was updated successfully, but these errors were encountered:
@Redn4s thanks for reaching out! We'll look into this!
Sorry, something went wrong.
++
Hello everyone! This is resolved in Release 5.2.3.
Thanks for your patience!
No branches or pull requests
What happened?
When requesting the push permission on iOS the response is an array instead of a boolean.
Steps to reproduce?
What did you expect to happen?
I expect the
requestPermission
method to return a boolean instead of an array.React Native OneSignal SDK version
5.0.4
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: