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
And it works for safari because QrReader component appears to page only AFTER user allows permission, pressing the button "Allow camera" in prompt window in safari IOS browser. And this works great! But the same code doesn't work in chrome in android browser, because the prompt window doesn't appear and user can't to allow permission. I suppose the prompt window in safari browser works outside the component while the prompt window in chrome android works inside it.
So, the next code will works in chrome android but doesn't work in safari IOS. After user allow use the camera and status updated doesn't happen anything.
And I reproduce the hook code. I wrote it, because I can check permissions before the QrReader will render to my page. And really needed functionality.
So, I noticed the difference behavior in chrome android and safari iOS browsers. I have the next code
And it works for safari because
QrReader
component appears to page only AFTER user allows permission, pressing the button "Allow camera" in prompt window in safari IOS browser. And this works great! But the same code doesn't work in chrome in android browser, because the prompt window doesn't appear and user can't to allow permission. I suppose the prompt window in safari browser works outside the component while the prompt window in chrome android works inside it.So, the next code will works in chrome android but doesn't work in safari IOS. After user allow use the camera and status updated doesn't happen anything.
And I reproduce the hook code. I wrote it, because I can check permissions before the
QrReader
will render to my page. And really needed functionality.Any workaround for solving this?
The text was updated successfully, but these errors were encountered: