'BLE scan failed for BLE version 4.2 device in react-native-ble-plx

I am developing the smart home app using react native platform. In that, I want to configure my IoT device from a mobile app over Bluetooth.

My device Bluetooth specification is,

BLE;v4.2 BR/EDR

I am using

react-native-ble-plx

library in react native for the Bluetooth operations so I am trying to scan the Bluetooth for the connection but my IoT device is not scanned by this library. Please help me to solve this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source