Changing phone orientation while scanning turns off flashlight
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.
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
and on again, then the flashlight will turn on.
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
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.
Hello Team, May you confirm ETA for this fix please ?
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.