I recently worked on the implementation of OneSignal and this is a tutorial for anyone who is looking to implement push notifications using the same service or react native app.
Here’s what we’re going to do:
- Installing OneSignal Package
- iOS Setup
- Android Setup
- Huawei Setup (Optional)
- React-Native OneSignal Implementation
Installing OneSignal Package
Start by installing the package in your app
npm install --save react-native-onesignal
Head over to https://onesignal.com/ and create a new account.
Give your app a name and select Apple iOS…