Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 startDeviceScan UUIDs array not fully working on Android #1151

Closed
2 tasks done
pwellner opened this issue Dec 7, 2023 · 1 comment
Closed
2 tasks done

🐛 startDeviceScan UUIDs array not fully working on Android #1151

pwellner opened this issue Dec 7, 2023 · 1 comment
Labels

Comments

@pwellner
Copy link

pwellner commented Dec 7, 2023

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed

Expected Behavior

When a non-null array of UUID strings is passed to startDeviceScan(), any device with any of the passed UUIDs should be scanned, both on iOS and on Android

Current Behavior

In versions > 2.0.3 I see scan results from some UUIDs, but not all on Android i.e. devices with some UUIDs are missing when scanned from Android.
The issue does not occur on IOS, and does not occur at all with v2.0.3

Library version

3.1.2

Device

Android 12 OnePlus Nord N20 5G CPH2459

Environment info

Using react-native v0.72.6  indirectly through expo v0.10.16

Steps to reproduce

  1. let theBleManager = new BleManager(bleManagerOptions);
  2. theBleManager.startDeviceScan([ "uuid1", "uuid2", ...], null, callback);
  3. Observe logs from callback to see if devices with all uuids are scanned. It works on iOS, but we get incomplete results from Android.

Formatted code sample or link to a repository

I have not created the sample repository in case the included information might be enough.

Is it ok to submit a minimal runnable expo repository to illustrate the issue?

Relevant log output

N/A

Additional information

No response

@pwellner pwellner added the bug label Dec 7, 2023
@pwellner
Copy link
Author

Issue seems to be specific to Eddystone UUID 0000feaa-0000-1000-8000-00805f9b34fb so replacing this issue with more specific issue [#1155], which includes link to repository with minimal reproducible example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant