Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

inb-react-native-notifications

wix73MIT1.0.8TypeScript support: included

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android

react-component, react-native, react native, ios, push-notifications, push notifications, notifications, notification, react native notifications, pushkit, push-kit, actionable-notifications, interactive-notifications

readme

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

changelog

Changelog

2.1.0

Added

  • react-native 0.60 Support

Breaking Change

This version requires an additional installation step in order to identify the correct build flavor on android, as described in our Installation doc.

2.0.6

Fixed

Android

  • Resolve intent by extra key and not by google.message_id string, Addresses #296. #5056657 by yogevbd

2.0.5

Fixed

Android

  • Reverted #349, This caused our e2e tests to fail, therefor we reverted this PR and will resolve this issue in the next version #0b70828 by yogevbd

2.0.4

Fixed

  • Fix missing badge in silent notification payload with no aps.alert #21c684d by yogevbd

Moved our builds to CircleCI and added iOS unit and e2e tests coverage.

2.0.3

Fixed

Android

Fixed

iOS

Breaking change

Make sure settings gradle imports from '../node_modules/react-native-notifications/android/app' and not '../node_modules/react-native-notifications/android'

include ':reactnativenotifications'
project(':reactnativenotifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android/app')