This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,14 @@ PushNotification.localNotification({
352352PushNotification .cancelLocalNotifications ({id: ' 123' });
353353```
354354
355+ ### 2) cancelAllLocalNotifications
356+
357+ ` PushNotification.cancelAllLocalNotifications() `
358+
359+ Cancels all scheduled notifications AND clears the notifications alerts that are in the notification centre.
360+
361+ _ NOTE: there is currently no api for removing specific notification alerts from the notification centre._
362+
355363## Notification priority
356364
357365(optional) Specify ` priority ` to set priority of notification. Default value: "high"
@@ -405,14 +413,6 @@ This can significantly impact the power use of the device when idle. So it must
405413More information:
406414https://developer.android.com/training/monitoring-device-state/doze-standby
407415
408- ### 2) cancelAllLocalNotifications
409-
410- ` PushNotification.cancelAllLocalNotifications() `
411-
412- Cancels all scheduled notifications AND clears the notifications alerts that are in the notification centre.
413-
414- _ NOTE: there is currently no api for removing specific notification alerts from the notification centre._
415-
416416## Repeating Notifications
417417
418418(optional) Specify ` repeatType ` and optionally ` repeatTime ` while scheduling the local notification. Check the local notification example above.
You can’t perform that action at this time.
0 commit comments