Messaging instance.
OptionaliosPermissions: IOSPermissionsAll the available permissions for iOS that can be requested.
Promise that resolves with the authorization status.
Use react-native-permissions or expo-notifications for notification permission requests instead. These APIs will be removed in a future major release. See #6283.
On iOS, messaging permission must be requested by the current application before messages can be received or sent.