Android vs iOS vs React Native reels
Android vs iOS vs React Native1 / 5
Android: pick the tool
1Sync soon
WorkManager, expedited, unique name
2Periodic
PeriodicWorkRequest, 15 min minimum
3Huge user upload
User-initiated data transfer job, API 34+
4Server changed
FCM data message, then enqueue work
Android: pick the tool
Right after a user edit.
#android
❚❚
Android vs iOS vs React Native2 / 5
iOS: pick the tool
1Finish now
beginBackgroundTask, a few seconds
2Catch up
BGAppRefreshTask, about 30 s
3Huge files
Background URLSession, one task per part
4Long user task
BGContinuedProcessingTask, iOS 26+
iOS: pick the tool
Wrap up the write the user just made.
#ios
❚❚
Android vs iOS vs React Native3 / 5
JavaScript- Screens and navigation
- UI state
- Observe SQLite
Native- WorkManager · BGTask
- File transfers
- The sync engine
Never move file bytes through JS.
React Native: who does what
JS may be gone when the OS wakes you.
#react-native
❚❚