Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit cc66810

Browse files
committed
Fix order in README.md
1 parent 676aa03 commit cc66810

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,14 @@ PushNotification.localNotification({
352352
PushNotification.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
405413
More information:
406414
https://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.

0 commit comments

Comments
 (0)