Prompt
how do I choose a push notification API for a new app that needs iOS, Android, and web support?
Latest observation
Choosing a push notification API for iOS, Android, and web is mostly about matching your product needs to the platform realities and your team’s operational tolerance.
1) Start with the basics: what “push” means on each platform
You’ll typically need support for:
- iOS: Apple Push Notification service (APNs)
- Android: Firebase Cloud Messaging (FCM)
- Web: Web Push via browser support/service workers
A good API/vendor should either:
- abstract these away for you, or
- make it easy to integrate with each provider cleanly.
2) Decide how much you want to build yourself
There are usually three approaches:
A. Use a full push platform
Examples: OneSignal, Airship, Braze, Firebase + custom glue
Best if you want:
- fast setup
- segmentation
- scheduling
- analytics
- templates
- A/B testing
- less infrastructure work
Tradeoff:
- vendor lock-in
- cost can rise with scale/features
- less control over delivery details
B. Use a push gateway / notification API
Examples: API-first services that send through APNs/FCM/Web Push
Best if you want:
- a clean backend integration
- control over message logic
- simpler architecture than building from scratch
Tradeoff:
- you may still need to handle tokens, user preferences, retries, analytics, and web push specifics
C. Build it yourself on APNs + FCM + Web Push
Best if you want:
- maximum control
- minimal vendor dependency
- deep customization
Tradeoff:
- more engineering/ops burden
- you own delivery failures, token refresh, and edge cases
- web push especially adds complexity
3) Evaluate the vendor/API on these criteria
Platform coverage
Check whether it supports:
- iOS native push via APNs
- Android push via FCM
- Web push across major browsers
- SDKs for your app stack: iOS, Android, React Native, Flutter, web, etc.
Ease of integration
Look for:
- simple registration/token handling
- clear device/user identity model
- good docs and examples
- SDK quality and maintenance frequency
Segmentation and targeting
If you need marketing/product notifications, check for:
- user tags/attributes
- audiences/segments
- topic subscriptions
- geo/device/browser targeting
Reliability and delivery
Ask about:
- retry behavior
- queueing
- monitoring
- provider failover
- delivery receipts or status tracking
Analytics and reporting
Useful features include:
- sends, opens, clicks
- per-platform delivery stats
- conversion tracking
- campaign performance
Personalization and automation
If you need engagement workflows:
- templates
- scheduled sends
- triggered messages
- dynamic content
- journey/automation support
Compliance and privacy
Make sure it supports:
- user opt-in/opt-out
- GDPR/CCPA data handling
- data retention controls
- EU data residency if needed
Pricing
Compare:
- monthly active devices/users
- message volume
- feature tiers
- overage fees
- web push pricing separately, if applicable
4) Match the choice to your app type
If your app is early-stage and needs speed
A platform like OneSignal-style solutions is often easiest because it gets you:
- iOS/Android/web from one place
- quick setup
- reasonable targeting and analytics
If your app is product-led and notification logic is core
Consider:
- a more developer-centric API
- custom backend orchestration
- direct APNs/FCM/Web Push integration
If you need strong marketing automation
Look at tools built for lifecycle messaging, not just transport.
5) Web push has special gotchas
For web, verify:
- browser support you need
- service worker setup
- HTTPS requirement
- permission prompt strategy
- Safari support nuances
- how subscriptions are managed and expired
Web push often behaves differently from mobile push, so don’t assume “supports web” means “works equally well everywhere.”
6) Questions to ask vendors before choosing
- Do you support APNs, FCM, and Web Push natively?
- Do you provide one unified API for all platforms?
- How do you handle token refresh and invalid tokens?
- What analytics are included?
- Can I segment by user attributes and behavior?
- Do you support transactional and marketing notifications?
- What’s your pricing at my expected scale?
- Can I export data if I leave?
- What SDKs do you support?
- Do you offer SLAs and support?
7) A practical decision framework
If you want a simple way to choose:
- Pick a full platform if you want the fastest launch and built-in marketing tools.
- Pick an API-first service if you want developer control with less infrastructure.
- Build directly if push is a major part of your product and you need maximum flexibility.
8) My recommendation for most new apps
For a new app with iOS, Android, and web support, I’d usually recommend:
- shortlist 2–3 vendors,
- prototype the hardest platform first, especially web,
- test token management, segmentation, and analytics,
- compare total cost at your expected scale,
- choose the one with the best mix of simplicity and future flexibility.
If you want, I can also give you:
- a shortlist of popular push notification APIs,
- a comparison table,
- or a recommendation based on your stack, budget, and use case.