Receiving push notifications

In our ever-connected mobile world, it is important for our apps to encourage and entice us to open them. They should communicate that there is some piece of information waiting for us if we open the app that we must be aware of immediately. This is where the concept of push notifications comes in. Push notifications have existed since 2009 on iOS and 2010 for Android, and are frequently used by applications to let the user know of a change that they should react to. This could be a time-duration process finished, or a message has been posted directed at the user; the use cases are endless.

This recipe focuses solely on working with push notifications on both iOS and Android. We are going to register our app with Apple ...

Get React Native Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.