Platform-specific behavior for iOS
masterWhen using Background Fetch on iOS, be aware of the following platform behaviors:
- App Termination: If your app is terminated, iOS will not fire events. There is no
stopOnTerminate: falseoption available for iOS. - Event Frequency: iOS uses a machine-learning algorithm to determine event frequency. It can take days for this algorithm to settle into a regular pattern. If your simulated events work, your configuration is likely correct.
- User Inactivity: If a user does not open your iOS app for long periods, iOS may stop firing events entirely.
- Scheduled Tasks: The
scheduleTaskmethod appears to only fire when the device is plugged into power.