How can i use the BGProcessingTask with B4I?
developer.apple.com
developer.apple.com
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.

BGProcessingTask | Apple Developer Documentation
A time-consuming processing task that runs while the app is in the background.
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>