Bluetooth scan and permissions. BLE and the CompanionDeviceManager
Hi,
I am working on a project that connects BLE Gatt devices ( heart rate, FTMS, Power, speed, cadence profiles... ) to Oculus Quest headsets .
I've been using the alpha and release channels to regularly upload and distribute the app with a test user group.
I got this error message the last time that I uploaded a build : " DO not use location permissions to scan for nearby Bluetooth devices. Update your app to use the COmpanionDeviceManager API to make and manage connections...."
I need help using the CompanionDeviceManager API on Oculus Quest. I've been trying A LOT of things and permissions, but I can't make it work on Quest. The device scan seems to silently fail.
I made it work seamlessly on my Android phone ( the COmpanionDeviceManager API BLE device scan & bonding ), but it doesn't work on Oculus Quest.
Also : there are these 2 valid permissions in the Quest VRC checks, BLUETOTH_SCAN and BLUETOOTH_CONNECT . The problem is that they don't seem to be accepted by the Oculus Quest headset.
They are permissions introduced with Android S.
https://developer.oculus.com/distribute/vrc-quest-security-2/
Please help,
I would really need to talk with someone from Oculus about the BLE support.
