I am unable to catch the event that the user has entered a incorrect pin with pairing with BLE in iOS. In Android it clearly shows a message that incorrect pin is entered. I am using the library react-native-ble-plx.
Any help is appreciated!
I am unable to catch the event that the user has entered a incorrect pin with pairing with BLE in iOS. In Android it clearly shows a message that incorrect pin is entered. I am using the library react-native-ble-plx.
Any help is appreciated!
I understood that on catching the device.connect() error, the library returns an error object and the reason paramater has 'Authentication is insufficient' when the pin is incorrect. This value could be a catch for this use case.