React Native & Expo (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Push Notifications Architecture: APNs, FCM, and background silent push handling.
senior LevelSystem Design
In Simple Words:
- APNs (iOS) & FCM (Android): Device registers with the OS and obtains an ephemeral push token sent to the backend database.
- Visual Notifications: Displayed in the OS notification shade with title, body, sound, and action buttons.
- Silent Background Push (
content-available: 1): Wakes up the app in the background for up to 30 seconds to fetch fresh data (e.g. download new chat messages) so content is ready the instant the user taps the app icon.