3. Set the minimum interval (measured in seconds) with this code:
B4X:
Dim no As NativeObject = App
no.RunMethod("setMinimumBackgroundFetchInterval:", Array(0)) '0 = minimum interval
but:
B4X:
Dim no As NativeObject = App
no.RunMethod("setMinimumBackgroundFetchInterval:", Array(0)) '0 = minimum interval
but:
setMinimumBackgroundFetchInterval(_:) | Apple Developer Documentation
Specifies the minimum amount of time that must elapse between background fetch operations.
developer.apple.com