B4X FEED How do i search and connect to BLE devices in the background? (iOS 16)

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: How do i search and connect to BLE devices in the background? (iOS 16) است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع How do i search and connect to BLE devices in the background? (iOS 16)
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
As application developers, I LOVE it when a new version of the OS is released and things break. Don't we all love it?

We have an application that was working fine since the last time they changed how things work.
In fact it worked fine up until iOS 15.8

The application purpose is to scan for certain BLE devices in the background. When a suitable device is found it has to connect to it, exchange some data and stay connected.

We already have the bluetooth-central UIBackgroundModes string added to the plist, the NSBluetoothPeripheralUsageDescription and NSBluetoothAlwaysUsageDescription strings in place and the app store review doesn't complain.

However, after the iOS update the application stops working 10-20 seconds after going into the background, if not already connected to a device, and opening it again restarts the application instead of resume it. In debug mode, the debugger exit
I've started looking in the documentation, but i've yet to find what...



 

عقب
بالا