react-native-user-notification
UNDER DEVELOPMENT
TODO LIST
- Package up as react-native library
- Publish NPM package
- Add Installation Instruction
- Add Usage Documentation
This package provides react-native javascript support to new IOS user notification API introduced in IOS 10. Please use this library only if you want to support advanced notification API in your react-native app. For older API use the RNPushNotification package from react-native.
Getting started
$ npm install react-native-user-notification --save
Mostly automatic installation
$ react-native link react-native-user-notification
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-user-notification
and addRNUserNotification.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNUserNotification.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
; // TODO: What to do with the module?RNUserNotification;