react-native-macos/Libraries/PushNotificationIOS
Keion Anvaripour 17ecd2fb5b Update RCTPushNotificationManager checkPermissions API to support iOS 10+
Summary:
Changelog:
[iOS][Changed] - Update `PushNotificationIOS.checkPermissions` to include iOS 10+ notification settings.

`PushNotificationIOS.checkPermissions` is currently limited to only return:
* alert :boolean
* badge :boolean
* sound :boolean

That's has been a number of new properties since iOS 10 that we should support to improve pushability signal. This diff updates the logic to support 4 new available settings:
* critical :boolean,
* lockScreen :boolean,
* notificationCenter :boolean,
* autorizationStatus: number,

Reviewed By: philIip

Differential Revision: D35386762

fbshipit-source-id: 07c87de024756bc95a2c822ac35437ec76b3c903
2022-04-06 20:15:22 -07:00
..
NativePushNotificationManagerIOS.js Enable custom sound for local notification in PushNotificationIOS 2022-02-04 18:16:19 -08:00
PushNotificationIOS.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTPushNotificationManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTPushNotificationManager.mm Update RCTPushNotificationManager checkPermissions API to support iOS 10+ 2022-04-06 20:15:22 -07:00
RCTPushNotificationPlugins.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTPushNotificationPlugins.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
React-RCTPushNotification.podspec bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00