$ npm install react-native-local-notifications --save
$ react-native link react-native-local-notifications
import LocalNotifications from 'react-native-local-notifications';
// TODO: What to do with the module?
LocalNotifications;
Open Xcode workspace located inside ios folder and add empty Swift file if you don't have at least one: Select File/New/File... Choose Swift file and click Next. Name it however you want, select your application target and create it. Accept to create Objective-C bridging header.
- Documentation
- Scheduled notifications
- Cancel scheduled notifications
- Refactor android code
- Check param types (android & ios)
- Typescript
- Split android/ios js code, to throw unsupported method if not implemented natively
- Implement subtext, images (feature complete notifications for both platforms)