PhilipsHue / flutter_reactive_ble

Flutter library that handles BLE operations for multiple devices.
https://developers.meethue.com/
Other
667 stars 334 forks source link

Using BLE connecting React native application with device asking pair pop up twice issue #790

Closed SatyendraM1990 closed 1 year ago

SatyendraM1990 commented 1 year ago

Describe the bug In my react native application I am using library react-native ble-plx Using this I am trying to connect a bluetooth enabled device with mobile application. While paring the device system pop up is asking to pair 2 times.

To Reproduce Steps to reproduce the behavior: 1 Once clicked on pair button in UI created that button, it will call function startScanner() will call. Mean while switch on Bluetooth device to pair. Immediately system pair pop will open select Pari a device , once we click on pair device , in center there will be one popup and click on pair, It should pair at that time but earlier pair a device pop not close, and asking to click on pair a device, again I click and center pop up Pair button then pop up hide and device get pair.

Expected behavior A clear and concise description of what you expected to happen.

Smartphone / tablet Android 13 (Motorola)

Peripheral device

Additional context With Iphone it's working fine, but with android version 13 I am facing this issue. Same issue I have seen someone raise this for android 12 also

Taym95 commented 1 year ago

How can you create a React Native issue in a Flutter package? Seriously!!