How can i use the BGProcessingTask with B4I?
Simply setting the following plist attributes does not prevent the app from pausing as soon as it is in the background.
Using background tasks to update your app | Apple Developer Documentation
Configure your app to perform tasks in the background to make efficient use of processing time and power.
developer.apple.com
BGProcessingTask | Apple Developer Documentation
A time-consuming processing task that runs while the app is in the background.
developer.apple.com
Simply setting the following plist attributes does not prevent the app from pausing as soon as it is in the background.
B4X:
#PlistExtra: <key>BGTaskSchedulerPermittedIdentifiers</key>
#PlistExtra: <array>
#PlistExtra: <string>com.stoltex.alarm</string>
#PlistExtra: </array>
#PlistExtra: <key>UIBackgroundModes</key>
#PlistExtra: <array>
#PlistExtra: <string>processing</string>
#PlistExtra: </array>