I'm working on an app which needs to stay active while in background (i.e. not displayed on screen, while the user is doing something else, like talking on the phone or browsing the web) and performing periodic (every 5 minutes) connections to a BLE device.
So far, I'm using the following
trying to prevent the OS from killing the app, but it seems to remain alive just for a few minutes and then it gets killed.
Anyone with similar experiences?
So far, I'm using the following
B4X:
#PlistExtra: </array>
#PlistExtra: <key>UIBackgroundModes</key>
#PlistExtra: <array>
#PlistExtra: <string>bluetooth-central</string>
#PlistExtra: <string>processing</string>
#PlistExtra: <string>fetch</string>
#PlistExtra: </array>
Anyone with similar experiences?