New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
The New Notification Stack for Developers - Mike Miller
Mar 01, 2023 14:17

The New Notification Stack for Developers - Mike Miller

Bonus
0:00 / 14:17

About this episode

Push notifications for mobile apps: Mike Miller of Courier on getting the happy path right and avoiding the common pitfalls.

———

Welcome back listeners, today we are kicking off another special series of the Code Story podcast, entitled The New Notification Stack for Developers, brought to you by our long time friends and sponsors of the Code Story podcast, Courier. As a reminder, Courier is developer infrastructure for product notifications, making it easier to deliver the notification experience that your customers expect. Check out their product to learn more at Courier.com

Guest: Mike Miller, Lead Mobile SDK Engineer at Courier

Links

  • Website: https://courier.com/codestory
  • LinkedIn: https://www.linkedin.com/in/killamikemilla/

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Mike Miller from Courier: https://www.codestory.co/episodes/the-new-notification-stack-for-developers-mike-miller/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • The Hidden Push Pipeline: A basic push means getting a device token, storing it in your database, retrieving it to send a message, then making the notification actionable in the app. Miller says the sending step usually doesn't go well.
  • Stale Answers, Bad Prompts: Push has changed on iOS and Android, so many answers found by Googling are old. Miller suspects copied snippets are why some apps ask for push permission before users have even tried them.
  • Silent Payload Failures: Data sent to a push token must be structured precisely. A message can appear to send successfully yet never arrive, and the problem can be very difficult or impossible to debug.
  • One Engineer Can Start: Courier's SDK syncs push tokens automatically and can send test pushes without a backend. A single mobile engineer can prove it out, then hand the send request to the backend team.
  • Days Down to Hours: Miller estimates the integration takes around 50 lines of code or fewer and a couple of hours, replacing many days of digging through potentially outdated Apple and Google documentation.

Frequently Asked Questions

What are common mistakes when adding push notifications to a mobile app?

Mike Miller points to asking for permission at an awkward moment, such as the first time an app opens, and to badly structured message data. On the latter, he warned, "You can send the message and have the message go through successfully, but you won't receive it." [05:52]

How does Courier's mobile SDK handle push notification tokens?

Mike Miller explains that the SDK syncs tokens to Courier automatically, so developers don't have to worry about whether a token is valid. In his words, "you don't have to manually sync push notification tokens." [07:27]

Can you test push notifications without setting up a backend?

Yes, according to Mike Miller, with no backend work or raw HTTP calls needed. He described a function in the SDK "that allows you to send a test message out to yourself." [08:25]

How much code and time does Courier's mobile SDK save?

Mike Miller says developers can get up and running within a couple of hours and save code on both the mobile app and the backend. He estimates the integration at "less than 50 lines of code or around there and saving many, many days." [12:14]

Which platforms does Courier's mobile SDK support?

Mike Miller says the SDKs support both Apple Push Notification Service and Firebase Cloud Messaging, with documentation at docs.courier.com. On the options available, he said "there are four SDKs. We have an iOS, Android, React Native, and Flutter SDK." [10:19]

Media List 5000, Podcasts, Fall 2026