August 2025
Intermediate to advanced
270 pages
6h 16m
English
To send a user a push notification, you first need the user’s permission to do so. This is triggered by a call to a native API that then presents a system dialog, shown as follows. If the user accepts, the system provides us with a notification token unique to the device.

You’ll transfer this token to your Rails server and use the Noticed gem[75] to communicate with APNs and FCM. These services will then send the notification to the device, identified by its token. It’s important to note that you don’t directly send notifications to devices. You request APNs and FCM to do so via HTTP requests (abstracted ...
Read now
Unlock full access