You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this when i press the "Show button" the camera wont work and is it not asking for permission.
If i start my code with "isSectionVisible" at true the camera is working but when i close it and reopen it will stop working.
In this second case if a code is readed this onDecodeResult(result) { console.log(result.getText()); setResult(result.getText()); }, console.log will spam continusly the result.
Can someone help me with my code?
Sorry for bad eng
The text was updated successfully, but these errors were encountered:
Hi all,
i am trying to make a simple app that, when you press a button will show the camera, read a Code and then show the result.
My code is:
With this when i press the "Show button" the camera wont work and is it not asking for permission.
If i start my code with "isSectionVisible" at true the camera is working but when i close it and reopen it will stop working.
In this second case if a code is readed this
onDecodeResult(result) { console.log(result.getText()); setResult(result.getText()); },
console.log will spam continusly the result.Can someone help me with my code?
Sorry for bad eng
The text was updated successfully, but these errors were encountered: