Adding Push Notifications in React Native with custom sounds (Vanilla Flavor)

added by JavaScript Kicks
12/4/2018 8:50:28 AM

785 Views

Steps Involved: Adding react-native-push-notification library. yarn add react-native-push-notification 2. Linking the library react-native link react-native-push-notification 3. iOS configuration: Add the following to your Project: node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotification.xcodeproj Add the following to Link Binary With Libraries: libRCTPushNotification.a Finally, to enable support for notification and register events you need to augment your AppDelegate.


0 comments