README.md 2.55 KB
Newer Older
yogevbd's avatar
f  
yogevbd committed
1
# React Native Notifications [![CircleCI](https://circleci.com/gh/wix/react-native-notifications/tree/master.svg?style=svg)](https://circleci.com/gh/wix/react-native-notifications/tree/master)
Lidan's avatar
Lidan committed
2

Lidan Hifi's avatar
Lidan Hifi committed
3
Handle all the aspects of push notifications for your app, including remote and local notifications, interactive notifications, silent notifications, and more.
Lidan Hifi's avatar
Lidan Hifi committed
4

Amit Davidi's avatar
Amit Davidi committed
5
**All the native iOS notifications features are supported!** 
Lidan's avatar
Lidan committed
6

7
_For information regarding proper integration with [react-native-navigation](https://github.com/wix/react-native-navigation), follow [this wiki](https://github.com/wix/react-native-notifications/wiki/Android:-working-with-RNN)._
Amit Davidi's avatar
Amit Davidi committed
8

9

d4vidi's avatar
d4vidi committed
10
### iOS
Lidan Hifi's avatar
Lidan Hifi committed
11

d4vidi's avatar
d4vidi committed
12
<img src="https://s3.amazonaws.com/nrjio/interactive.gif" alt="Interactive notifications example" width=350/>
Lidan Hifi's avatar
Lidan Hifi committed
13

d4vidi's avatar
d4vidi committed
14 15 16 17 18
- Remote (push) notifications
- Local notifications
- Background/Managed notifications (notifications that can be cleared from the server, like Facebook messenger and Whatsapp web)
- PushKit API (for VoIP and other background messages)
- Interactive notifications (allows you to provide additional functionality to your users outside of your application such as action buttons)
Lidan Hifi's avatar
Lidan Hifi committed
19

d4vidi's avatar
d4vidi committed
20
### Android
Amit Davidi's avatar
Amit Davidi committed
21

22 23
- Receiving notifications in any App state (foreground, background, "dead")
- Built-in notification drawer management
24
- High degree of code extensibility to allow for advanced custom layouts and any specific notifications behavior as available by [Android's API](https://developer.android.com/training/notify-user/build-notification.html)
25 26
- Android equivalent of React-Native's implementation of [`PushNotificationsIOS.getInitialNotification()`](https://facebook.github.io/react-native/docs/pushnotificationios.html#getinitialnotification).

27
_Upcoming: local notifications, background-state Rx queue (iOS equivalent)_
Lidan Hifi's avatar
Lidan Hifi committed
28 29


30
# Table of Content
Lidan Hifi's avatar
Lidan Hifi committed
31

32 33 34 35 36 37
- [Installation and setup](./docs/installation.md) - Setting up the library in your app
- [Subscription](./docs/subscription.md) - Signing in to push notifications vendors (e.g. GCM)
- [Notification Events (notfications core)](./docs/notificationsEvents.md) - Handling push notification arrival, notification opening by users
- [Local notifications](./docs/localNotifications.md) - Manually triggering notifications (i.e. not via push)
- [Advanced iOS topics](./docs/advancedIos.md) - e.g. managed notifications, PushKit API, Notifications actions
- [Notifications layout control - Android (wiki page)](https://github.com/wix/react-native-notifications/wiki/Android:-Layout-Customization) - Learn how to fully customize your notifications layout on Android!
38

39
# License
Lidan Hifi's avatar
Lidan Hifi committed
40 41
The MIT License.

Marc Sommerhalder's avatar
Marc Sommerhalder committed
42
See [LICENSE](LICENSE)