Closed
Description
I'm confused as to how this is supposed to be used. The RN PushNotificationIOS docs say:
This method returns a promise that will resolve when the user accepts, rejects, or if the permissions were previously rejected. The promise resolves to the current state of the permission.
But when I use the following, console.log()
is never hit.
PushNotificationIOS.requestPermissions().then((permissions) => console.log(permissions));
What am I missing?