Send Cloud-Based Alerts with Push Notifications

I want to make the scope of this section very clear from the get-go: we’re focusing on the client-side of push notifications, meaning the app that consumes the messages. The server-side piece is out of scope for this book, so I’ve added some logic to the ABL APIs that we can use when building our handlers. I would have liked to add both sides of push notifications in here, but we’re already 325+ pages into the book, so I’m instead making that piece a free blog for everyone.[13]

For our push notifications, we’re using Google’s Firebase platform and in particular the Firebase Cloud Messaging library, and we have a bit of setup we need to go through before we can get rolling.

Configure Firebase Cloud ...

Get Kotlin and Android Development featuring Jetpack 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.