Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing phone orientation while scanning turns off flashlight #204

Open
mateuszbudrewicz opened this issue Jan 9, 2023 · 4 comments
Open

Comments

@mateuszbudrewicz
Copy link

mateuszbudrewicz commented Jan 9, 2023

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.

@somyaguptagit
Copy link

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
Copy link

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.

@Nykolaj1979
Copy link

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

@somyaguptagit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants