iOS app disappears from notification center after skipping request permissions from firebase #6414
Unanswered
victor-cui-brigit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a react native app and we have a dependency on react-native-firebase in our
package.json
to request push notification permissions and deliver the notifications. When the user first installs or re-installs the app, we display a screen asking users if we can send them push notifications. We use the firebase messaging requestPermission method to request permission to deliver push notifications, which changes thefirebase.messaging.AuthorizationStatus
fromNOT_DETERMINED
toAUTHORIZED
. I assume the firebase module calls native ios code like requestAuthorization to authorize notification delivery.If they choose not to enable notifications, we update our redux state value
hasAskedForPushPermissions
to true and we don't ever ask them again if they want to enable push notifications, unless they delete and re-install the app. However after choosing not to enable push notifications, the app doesn't appear under my iOSsettings -> notifications
. If I scroll downsettings
to all the apps on my iphone, my app appears but there's no option to enable notifications. Now our users have no way of enabling push notifications after denying them the first time, besides deleting the app and re-installing which obviously is a huge pain. Can anyone shed some light into why my app doesn't appear undersettings -> notifications
?Beta Was this translation helpful? Give feedback.
All reactions