iOS Question How to use the BGProcessingTask

Alexander Stolte

Expert
Licensed User
Longtime User
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.
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>
 
Top