You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start scanning for bluetooth devices using BluetoothLeScannerCompat, the scan immedietly stops with error code 2 SCAN_FAILED_APPLICATION_REGISTRATION_FAILED. This does not happen when using a Samsung phone, tablet (S22, S23, A9) or Oneplus phones. The scan is only started once, so i dont think it is an abundance of scans that is the issue, but i could be wrong.
I have tried to use ACCESS_FINE_LOCATION with BLUETOOTH_SCAN while removing android:usesPermissionFlags="neverForLocation", but it does not resolve the issue.
Logcat log:
11:32:23.212 BleScanner com....oxygentherapy E Top start scan
11:32:23.212 BleScanner com....oxygentherapy E Is Scan lock locked?:false
11:32:23.213 BleScanner com....oxygentherapy E start scanner now!
11:32:23.215 BluetoothAdapter com....oxygentherapy D isLeEnabled(): ON
11:32:23.218 BluetoothLeScanner com....oxygentherapy D onScannerRegistered() - status=128 scannerId=0 mScannerId=0
11:32:23.219 ScannerListener com....oxygentherapy E Scan status:NO_ERROR error code:-1
11:32:23.221 PlayCore com....oxygentherapy I UID: [10394] PID: [13295] OnRequestInstallCallback : onRequestInfo
11:32:23.221 PlayCore com....oxygentherapy I UID: [10394] PID: [13295] AppUpdateService : Unbind from service.
11:32:23.225 CheckUpdate com....oxygentherapy D checked for update failed: -10: Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED)
11:32:23.225 ScannerListener com....oxygentherapy E Scan status:SCAN_FAILED error code:2
11:32:23.225 BleScanner com....oxygentherapy E finally stop scanner now!
The text was updated successfully, but these errors were encountered:
When I start scanning for bluetooth devices using BluetoothLeScannerCompat, the scan immedietly stops with error code 2 SCAN_FAILED_APPLICATION_REGISTRATION_FAILED. This does not happen when using a Samsung phone, tablet (S22, S23, A9) or Oneplus phones. The scan is only started once, so i dont think it is an abundance of scans that is the issue, but i could be wrong.
Code for starting the scan:
Permissions asked for during runtime:
I have tried to use
ACCESS_FINE_LOCATION
withBLUETOOTH_SCAN
while removingandroid:usesPermissionFlags="neverForLocation"
, but it does not resolve the issue.Logcat log:
The text was updated successfully, but these errors were encountered: