We've carefully reviewed the part you mentioned.
However, our issue currently only occurs on the iPhone 17. The app sits in the background, scanning and connecting to nearby BLE devices.
Currently, on the iPhone 17, the BLE scanning stops immediately as soon as the app is outside, and it barely scans a single BLE device until it starts again. We'd like to ask for a solution to this issue.
Device up to the iPhone 16 In CBCentralManager scanForPeripherals(
withServices: [my_uuid],
options: [CBCentralManagerScanOptionAllowDuplicatesKey: true]
)
When you make a call, you can continue to receive surrounding scanning, either quickly or slowly, even if the app goes into the background, but on the iPhone 17, scanning stops immediately.
Topic:
App & System Services
SubTopic:
Core OS
Tags: