Dev Team Ditches 30-Second Polling for Direct APNs and FCM Push Notifications
A mobile development team running a React Native (Expo) app discovered their notification system was generating nearly 3,000 HTTP requests per day per user through a 30-second polling interval, draining battery and delivering nothing when the app was closed. The team initially considered using Expo's managed push service but opted instead for direct integration with Apple's APNs and Google's FCM to eliminate third-party runtime dependencies. This approach gave them full control over notification payloads, platform-specific settings, and device tokens without relying on Expo's token translation layer. The direct integration required implementing OAuth2 service account authentication and JWT signing separately for each platform, adding engineering complexity. The switch eliminated the self-inflicted API polling load and enabled true background push delivery for time-sensitive bid notifications.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in