Recapping Push Notifications
You just learned how to implement push notifications across both mobile platforms.
On the clients, you kicked off the authorization request from a bridge component that’s triggered when the user signs in. Then, when accepted, the notification token is POSTed to the server via a view model. Finally, when the notification was tapped, you built a URL from the path and deep linked to it via a Navigator.
On the Rails side, you learned how to set up Noticed to send notifications via APNs and FCM. You created a Notifier subclass to contain all of your notification logic, like only sending notifications to registered devices and embedding the path in the payload. And you’re keeping your authorization tokens secure by storing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access