How can a non-ios device detect UUID of an ios device that is advertising BLE signal in background mode?
UUID advertised by iOS (CBAdvertisementDataServiceUUIDsKey) in background goes to overflow area and is not detected by android device scanning for that particular UUID. Since iOS app cannot be kept in foreground continuously, how can we ensure detection of iOS device in background by non-ios/android device scanning for it
Steps to reproduce:
- Start BLE advertisement with a generated UUID in iPhone application.
- Put app in background
- Try to scan for UUID on android device.
Can check the BLE signal using any BLE app (eg. NRF connect) The signal received does not contain UUID.
Code for advertisement: let scanUUIDs = [CBUUID(string: defaults),BLESensorConfiguration.serviceUUID] self.peripheral.startAdvertising([CBAdvertisementDataServiceUUIDsKey : scanUUIDs])