blinkid-react-native icon indicating copy to clipboard operation
blinkid-react-native copied to clipboard

Changing phone orientation while scanning turns off flashlight

Open mateuszbudrewicz opened this issue 3 years ago • 4 comments

Hi Guys,

I'm using BlinkID on react native: "blinkid-react-native": "~5.17.0", "react-native": "0.68.1"

I have the following problem with an Android phone, I turn on the flashlight for scanning with the button from BlinkID, the flashlight lights up normally, you can do a scan. As pictured in the documentation.

Blink1

However, when we turn the phone, for example from portrait to landscape with the flashlight on, the flashlight turns off, but the button to turn on the flashlight is turned on. To turn the flashlight back on, you need to press the flashlight button again, turn the flashlight off image and on again, then the flashlight will turn on.

mateuszbudrewicz avatar Jan 09 '23 12:01 mateuszbudrewicz

Hello @mateuszbudrewicz, Thank you for reaching out!

We will investigate this issue from our end and reach out here as soon as we have an update. In the meantime, please let us know does this issue occur only on Android device ?

Best Regards, Somya Gupta

somyaguptagit avatar Jan 12 '23 21:01 somyaguptagit

Hello @mateuszbudrewicz, Thank you for waiting for our response! We just wanted to follow up here to inform you that we have managed to reproduce this issue from our end and have forwarded it to our internal teams, we will reach out here as soon as we have an update.

somyaguptagit avatar Jan 23 '23 14:01 somyaguptagit

Hello Team, May you confirm ETA for this fix please ?

Nykolaj1979 avatar Mar 27 '23 15:03 Nykolaj1979

Hello Nykola, We wanted to inform you that the inconsistency is fixed. The icon will now correctly show the state of the torch. Due to our camera management system and the way we’re handling the torch, it is expected that the torch is turned off when the device is rotated. In order to prevent that behavior, you can lock the orientation to portrait mode. Also, Our SDK can scan the ID from any angle. We will also update you when the new version of the React Native BlinkID SDK is released. Hope this information is helpful.

somyaguptagit avatar Apr 05 '23 16:04 somyaguptagit