diff --git a/docs/localNotifications.md b/docs/localNotifications.md index ea503ea0315cca898499244216fd30a491a3f9ca..db3b6b1e7b52293eac0788fbc67ecb93b7f3102e 100644 --- a/docs/localNotifications.md +++ b/docs/localNotifications.md @@ -4,7 +4,7 @@ title: Local Notifications sidebar_label: Local Notifications --- -## iOS + iOS You can manually trigger local notifications in your JS code, to be posted immediately or in the future. Triggering local notifications is fully compatible with React Native `PushNotificationsIOS` library. @@ -72,7 +72,7 @@ Call `removeAllDeliveredNotifications()` to dismiss all delivered notifications notifications). -## Android + Android Much like on iOS, notifications can be triggered locally. The API to do so is a simplified version of the iOS equivalent that works more natually with the Android perception of push (remote) notifications: diff --git a/docs/notifications-events.md b/docs/notifications-events.md index a9f0ed3a18fca475242464a9b4c59d104ea88117..a969868f1eaf2d0c3540325cc5b12d8047ad6396 100644 --- a/docs/notifications-events.md +++ b/docs/notifications-events.md @@ -4,8 +4,6 @@ title: Handling Notification Events sidebar_label: Events --- -## iOS - When a push notification is received by the device, the application can be in one of the following states: 1. **Forground:** When the app is running and is used by the user right now; in this case, a `notificationReceived` event will be fired, do not forget to invoke `completion()` callback.