Gone Mobile Podcast
Gone Mobile Podcast
Greg Shackles, Jonathan Dick
90: Push Notifications are Hard!
1 hour Posted Jan 19, 2024 at 3:00 pm.
Introduction
Tackling Hard Problems
History of Push Notifications
Setup and Configuration on iOS
Registering for Notifications on iOS
Lifecycle of Notifications on iOS
Silent Notifications on iOS
Handling Background Execution on iOS
Complexity of Cross-Platform Implementation
Setup and Configuration on Android
Handling Notifications on Android
Permissions and Changes in Android
Permissions and Changes
Setting Up Notifications on Android
Specifying Intents in Notification Payloads
Silent Notifications on Android
Sending Notifications to Tags on Android
Handling Multiple Devices on Android
Shiny Push Library
Server-to-Server Notifications
Source Generators and Boilerplate
Plugin Pick: Shiny Push
0:00
1:00:05
Download MP3
Show notes
Summary
In this episode, Jon and Allan discuss the complexities of implementing push notifications on iOS and Android. They delve into the history of push notifications and the challenges developers face in tackling this topic. They explore the setup and configuration process for both platforms, including the use of certificates and entitlements on iOS and the use of Firebase on Android. They also discuss the lifecycle of notifications, handling background execution, and the differences between iOS and Android in terms of permissions and notification handling. In this episode, Jon and Allan discuss various aspects of push notifications on Android, including permissions and changes, setting up notifications, specifying intents in notification payloads, silent notifications, sending notifications to tags, handling multiple devices, and the Shiny Push library. They also touch on source generators and boilerplate code. Overall, the conversation provides valuable insights into the complexities and best practices of implementing push notifications on Android.
Takeaways
Push notifications are a complex topic that require careful setup and configuration on both iOS and Android.
Developers face challenges in implementing push notifications due to the differences between platforms and the evolving nature of the technology.
The setup and configuration process involves obtaining certificates and entitlements on iOS and using Firebase on Android.
The lifecycle of notifications and the handling of background execution differ between iOS and Android.
Permissions and changes in Android, such as the introduction of post-notifications, add another layer of complexity to push notification implementation. Permissions and changes in Android can impact the implementation of push notifications.
Notifications on Android can be set up to route directly to an activity by specifying an intent in the notification payload.
Silent notifications on Android can be used to wake up the app and perform background tasks.
Sending notifications to tags allows for logical grouping and targeted delivery on Android.
Handling multiple devices and ensuring notifications are received on all devices can be challenging.
The Shiny Push library simplifies the implementation of push notifications on Android.
Source generators can help reduce boilerplate code and make implementation easier.
People
Hosts: Jon Dick, Allan Ritchie
Audio Engineer: Jim Heath
Chapters
Links:Shiny Push Notifications