Files
react-native-notifications/docs/ios-api.md

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);