nativescript-community / nativescript-community/ble

Bluetooth error on old devices with android 11

Open
#282 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
202
Forks
79
PR merge metrics
No merged PRs in 30d

Description

I updated at android sdk 36 and now it work fine on devices with android 15, but i have this error on my other device with android 11

[BluetoothError]:Cannot read properties of undefined (reading 'Authorized'),arguments: {"filters":[],"seconds":6,"avoidDuplicates":true},,nativeException: undefined,,method: "startScanning"

how can i fix it?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing startScanning on the Android 11 device after updating to SDK 36, using the reported filters, timeout, and duplicate settings. Inspect the BluetoothError and compare the scan path with Android 15; done means scanning works on Android 11 without the undefined Authorized error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.