DEV Community

David Friedman
David Friedman

Posted on • Originally published at appbrewers.com

Push Notifications Implementation Guide: iOS, Android, and Web

Push notifications drive 30% of app engagement. Here is how to implement them correctly.

By David Friedman, Founder of AppBrewers


Push notifications are the highest-ROI engagement channel for apps. But implemented poorly, they annoy users and drive uninstalls. Here is our implementation guide.


Platform Comparison

Platform Framework Reliability Rich Media
iOS APNS Excellent Images, actions
Android Firebase Cloud Messaging Excellent Images, actions, custom UI
Web Web Push API Good (Android), Poor (iOS Safari) Limited

Implementation Steps

1. Request Permission at the Right Time

Never ask for notification permission on first launch. Wait until the user has experienced value.

Good timing: After a positive action (completed order, saved item, achievement).

Bad timing: App launch, splash screen, during onboarding.

2. Segment Your Audience

Segment Example Notification
Power users New feature announcements
Dormant users We miss you — here is what is new
Cart abandoners Complete your purchase (10% off)
Free trial ending Upgrade now to keep your data

3. Personalize Content

  • Use the user's name
  • Reference specific actions (Your report is ready)
  • Localize by timezone
  • A/B test copy and timing

4. Handle Deep Linking

Every notification should open the relevant screen, not just the home screen.

Notification -> Parse payload -> Route to screen -> Preload data
Enter fullscreen mode Exit fullscreen mode

Best Practices

  • Frequency cap: Max 3-5 notifications per day
  • Respect quiet hours (local timezone)
  • Provide easy opt-out in every notification
  • Track delivery, open, and conversion rates
  • Test on real devices before shipping

Tech Stack

Layer iOS Android Web
Service APNS FCM Web Push API
SDK Firebase SDK Firebase SDK Service Worker
Backend Firebase Functions Firebase Functions Firebase Functions
Analytics Mixpanel Mixpanel Mixpanel

Need Push Notifications Built?

We implement push notifications for iOS, Android, and web apps. Segmentation, deep linking, analytics. 1-2 week integration.


Originally published on the AppBrewers Blog.

Top comments (0)