Sending notifications with Expo

Another important feature for a mobile social media application is the ability to send users notifications of important events, for example, when their post gets starred or a friend has uploaded a new post. Sending notifications can be done with Expo and requires you to add both server- and client-side code, as the notifications are sent from the server. The client needs to retrieve a local identifier for the users' device, which is called the Expo push code. This code is needed to identify which device belongs to the user and how a notification should be sent to either iOS or Android.

Testing notifications can only be done by using the Expo application on your mobile device. iOS and Android simulators cannot ...

Get React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.