Provisional push authorization should be optional on iOS
planned
Anders Friis
Currently when requesting push permission for iOS 12+, provisional authorization is added as auth option with no option to omit it. My client wants to explicitly ask the user for permission in the app so I need to be able to call
requestPermission
with an option to omit the UNAuthorizationOptionProvisional
flag when requesting: https://github.com/invertase/react-native-firebase/blob/8c339d10e288ef60e83e38bc4a245c5a251c83ff/packages/messaging/ios/RNFBMessaging/RNFBMessagingModule.m#L150Mike Diarmid
planned
Anders Friis
Created a PR for this: https://github.com/invertase/react-native-firebase/pull/3075