You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue after the user has accepted to receive notification, they get a followup alert with the title "Notification Permission" and inner text "unavailable".
When the user accepts I get the following return: {"alert": true, "authorizationStatus": 2, "badge": true, "critical": false, "lockScreen": true, "notificationCenter": true, "sound": true}
I have added the Push Notification to Signing & Capabilities and all these steps that are needed.
This is how i'm requesting permissions:
const status = await PushNotificationIOS.requestPermissions();
console.log("status",status)
return status.authorizationStatus === 2;
Here is the alert I get after accepting to receive notifications:
Hello,
I'm having an issue after the user has accepted to receive notification, they get a followup alert with the title "Notification Permission" and inner text "unavailable".
When the user accepts I get the following return:
{"alert": true, "authorizationStatus": 2, "badge": true, "critical": false, "lockScreen": true, "notificationCenter": true, "sound": true}
I have added the Push Notification to Signing & Capabilities and all these steps that are needed.
This is how i'm requesting permissions:
Here is the alert I get after accepting to receive notifications:
Versions:
"@react-native-community/push-notification-ios": "^1.11.0",
"react-native": "0.69.3",
The text was updated successfully, but these errors were encountered: