react-native-ble-plx
react-native-ble-plx copied to clipboard
Does not scan when pass UUIDs to startDeviceScan on Android
Prerequisites
- [yes] I am running the latest version
- [yes] I checked the documentation and found no answer
- [no] I checked to make sure that this issue has not already been filed
Expected Behavior
Runs the same on ios and android
Current Behavior
iOS - gets packages when pass in UUIDs Android - does not get packages when pass in UUIDs
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- step 1
- step 2
- ...
Context
- react: 16.13.1
- react-native: 0.63.4
- react-native-ble-plx: 2.0.3
- Platform: Android/iOS.
bleManager.startDeviceScan([SERVICE_DATA], null, async (error: BleError | null, device: Device | null) => {
if (error) {
console.log('SCAN ERROR =', error);
}
if (device) {
}
});
Hi, can you specify on which device you are having this problem and what version of android?
@mciechanowicz This is Samsung Galaxy A51 and Android version 11.
~having the same issue, can't pass an array of service UUIDs on Android. Galaxy S20 FE, Android version 12.~
The new major release updates the core packages that support the latest versions of the operating system and fixes some old bugs. Please confirm if the issue still persists and create a new issue if it still does.