Post

Replies

Boosts

Views

Activity

Reply to CoreBluetooth Advertising and Scanning Issue in iOS 18/iPadOS 18 Beta 3
The Issue iOS 18 CoreBluetooth - scanForPeripherals method with a defined CBUUID is not able to detect iPhone peripherals advertising in the background state. Setup iPhone A (peripheral) - Advertising a service with a specific CBUUID myServiceUUID iPhone B (central) - Scanning using the method sCentralManager.scanForPeripherals(withServices: [myServiceUUID]) Test Cases iPhone B (with iOS 18) - detects iPhone A in the foreground state (app open in the foreground) iPhone B (with iOS 18) - DOES NOT detect iPhone A in the background state (app in background; not terminated) iPhone B (with iOS 17 and below) - detects iPhone A in both foreground and background states NOTE: iPhone A could be any version of iOS
Sep ’24