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

JSQR on flutter web on iOS Safari #7

Open
MyVenueGit opened this issue Dec 13, 2021 · 2 comments
Open

JSQR on flutter web on iOS Safari #7

MyVenueGit opened this issue Dec 13, 2021 · 2 comments

Comments

@MyVenueGit
Copy link

MyVenueGit commented Dec 13, 2021

JSQR is unable to load or taking a long time (about 5 seconds or more) to load when build flutter project for web and open the deployed web on iOS devices. Working good on Android devices.

@treeder
Copy link
Owner

treeder commented Dec 14, 2021

We're using it on web devices and don't have the issue. You sure it's jsqr that's taking a while to load?

@MyVenueGit
Copy link
Author

Thanks for your response. I'm pretty sure it is JSQR.
Here are the step I did:

  1. I created a new counter template flutter project.
  2. I add jsqr (jsqr: ^0.1.1) and assign the action ShowDialog as in example to the counter button.
  3. I build release for web and deploy the website to firebase hosting
  4. I open the web app on several iOS devices. There will be 2 main problems when I try to press the button on the website:
  • The jsqr window becomes gray, sometime it loads and shows the cam feed, some time it doesn't. The cam feed will be shown in a short duration when I try to close the dialog or showing good when we switch tab then back or swipe up Safari to go to home screen then open Safari again.
  • When the cam feed is shown, the frame is not correct to the size of the Container.

I tried debug but found no good info.
I tried jsqr pure js demo on iphone, all working good.

Not so sure if this helps.
Thanks.

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

2 participants