nativescript-community / nativescript-community/ble

missing serviceUUIDs on android 12

Open
#254 17 comments 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 was now forced by google to increase my target api level for android to 31 (android 12).

After fixing the permission problems (with help from 2 closed issues, a readme update would be nice), the scan started like before but didn't yield any results.

Removing the filter by serviceUUID from scan options did get me results again, but trying to read the service uuid list gets me an empty array.

All this with the latest versions of nativescript, ble module, ...

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 an Android 12 scan with a serviceUUID filter, then compare it with an unfiltered scan and inspect how the service UUID list is retrieved. Done means filtered scans return results and reading the service UUID list returns the expected values.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.