The Wayback Machine - http://web.archive.org/web/20201111225235/https://github.com/wix/react-native-notifications
Skip to content
master
Go to file
Code

Latest commit

There is a problem on iOS we encountered in RN application. 
Steps to reproduce: 
- App is dead
- Notification received (with deep link to some screen in app) 
- User opened the notification and navigated to some place in app 
- User performed some actions, which cause app to reload from scratch 
- App is loading from scratch ( initial notification is still there )
- Notification handler takes the initial notification again 
- User navigated to some place in app again

Expected behaviour: 
Initial notification should be cleared. 

Co-authored-by: yevhenii <yevhenii.muryi@dataart.com>
d78e7a0

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

React Native Notifications

npm Build Status npm (tag) npm (tag)

Handle all the aspects of push notifications for your app, including remote and local notifications, interactive notifications, silent notifications, and more.

All the native iOS notifications features are supported!

For information regarding proper integration with react-native-navigation, follow this wiki.

Requirements

Apps using React Native Notifications may target iOS 10 and Android 5.0 (API 21). You may use Windows, macOS or Linux as your development operating system.

iOS

Interactive notifications example

  • 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)

Android

  • Receiving notifications in any App state (foreground, background, "dead")
  • Built-in notification drawer management
  • High degree of code extensibility to allow for advanced custom layouts and any specific notifications behavior as available by Android's API
  • Android equivalent of React-Native's implementation of PushNotificationsIOS.getInitialNotification().

Upcoming: local notifications, background-state Rx queue (iOS equivalent)

Quick Links

License

The MIT License.

See LICENSE

You can’t perform that action at this time.