
#REACT NATIVE ANDROID APP HOW TO#
Tutorial - How to Install React Native Push Notifications In addition to this tutorial, you can follow along with walkthrough of how to create a new React Native project with native code and setup remote push notifications for both iOS and Android. Video Walkthrough of React Native Push Notifications Using PubNub If you're more of a visual learner, check out the video tutorial below. Now that you know what a push notification can do, let’s get to the tutorial. The uses are endless and can provide for a great user experience. They could also be used to alert users to breaking news (tornado alerts, hurricane warnings, etc). You may want to build push notifications if you own a delivery service, and you’d like your users to be able to get real-time updates of where their delivery is. When to Use a Push NotificationĬompanies and sites use push notifications for a myriad of reasons. They work very similarly for apps, however, they can pop up on a mobile device at any time, regardless of whether the user is on the app. For browsers, push notifications can show up no matter what site a user is on, as long as they’ve opted in to push notifications. Push notifications work for both browsers and apps. They differ from regular pop-ups because they will appear on the device whether or not the user is currently using the site or app that the notification is tied to. Push notifications are small messages that users receive on a device. Check out our React SDK docs for an up-to-date reference.
#REACT NATIVE ANDROID APP ANDROID#
How to setup and send push notifications for iOS (APNS) and Android (GCM/FCM) with React Native and PubNub.ĭisclaimer: This post was originally written using PubNub's React SDK v1.
