mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-11 00:08:50 +08:00
1.1 KiB
Executable File
1.1 KiB
Executable File
id, title, sidebar_label
| id | title | sidebar_label |
|---|---|---|
| ios-api | iOS Specific Commands | iOS specific |
requestPermissions
request permissions
Notifications.ios.requestPermissions();
checkPermissions
checkPermissions
Notifications.ios.checkPermissions();
abandonPermissions
Unregister for all remote notifications received via Apple Push Notification service
Notifications.ios.abandonPermissions();
registerPushKit
registerPushKit
Notifications.ios.registerPushKit();
cancelAllLocalNotifications
cancelAllLocalNotifications
Notifications.ios.cancelAllLocalNotifications();
getDeliveredNotifications
getDeliveredNotifications
Notifications.ios.getDeliveredNotifications();
removeAllDeliveredNotifications
removeAllDeliveredNotifications
Notifications.ios.removeAllDeliveredNotifications();
removeDeliveredNotifications
removeDeliveredNotifications
Notifications.ios.removeDeliveredNotifications();
getBadgeCount
getBadgeCount
Notifications.ios.getBadgeCount();
setBadgeCount
setBadgeCount
Notifications.ios.setBadgeCount(1);