-[Managed notifications]((#managed-notifications-ios-only)) (notifications that can be cleared from the server, like Facebook messenger and Whatsapp web)
-[Managed notifications](#managed-notifications-ios-only)(notifications that can be cleared from the server, like Facebook messenger and Whatsapp web)
-[PushKit API](#pushkit-api-ios-only) for VoIP and other background messages.
-[Interactive notifications](#interactive-actionable-notifications-ios-only) that allows you to provide additional functionality to your users outside of your application.
-[Interactive notifications](#interactive--actionable-notifications-ios-only) that allows you to provide additional functionality to your users outside of your application.
-`alertTitle`- The title of the notification, displayed in the notifications center.
-`alertAction`- The "action" displayed beneath an actionable notification.
-`soundName`- The sound played when the notification is fired (optional).
-`category`- The category of this notification, required for interactive notifications (optional).
-`category`- The category of this notification, required for [interactive notifications](#interactive--actionable-notifications-ios-only)(optional).
-`userInfo`- An optional object containing additional notification data.
---
## Managed Notifications (iOS only)
Managed notifications are notifications that can be cleared by a server request.
You can find this feature in facebook messenger, when you receive a message in your mobile, but open it in facebook web. More examples are Whatsapp web and gmail app.
Interactive notifications allow you to reply to a message right from the notification banner or take action right from the lock screen.
On the Lock screen and within Notification Center, you swipe from right to left
...
...
@@ -322,7 +326,7 @@ Then, follow the basic workflow of adding interactive notifications to your app:
1. Config the actions.
2. Group actions together into categories.
3. Register to push notifications with the configured categories.
4. Push a notification (or trigger a local one) with the configured category name.
4. Push a notification (or trigger a [local](#triggering-local-notifications) one) with the configured category name.
### Example
#### Config the Actions
...
...
@@ -388,7 +392,7 @@ Notification payload should look like this:
}
```
The example app contains this interactive notification example, you can follow there.
The [example app](https://github.com/wix/react-native-notifications/tree/master/example) contains this interactive notification example, you can follow there.