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

scanner might stop working on ios #174

Open
futurepaul opened this issue May 26, 2023 · 3 comments
Open

scanner might stop working on ios #174

futurepaul opened this issue May 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@futurepaul
Copy link
Collaborator

Not the same QR reader dependency as us but very similar symptoms:

gruhn/vue-qrcode-reader#298

somehow the qr scanner gets broken in pwa mode of the app and the only fix is restarting the phone.

my gut is this is something with how ios "backgrounds" the app and when it restores it doesn't work... but what's confusing is that even killing the app doesn't fix it, only restarting ios

@futurepaul futurepaul added the bug Something isn't working label May 26, 2023
@Jannis033
Copy link

Not the same QR reader dependency as us but very similar symptoms:

gruhn/vue-qrcode-reader#298

somehow the qr scanner gets broken in pwa mode of the app and the only fix is restarting the phone.

my gut is this is something with how ios "backgrounds" the app and when it restores it doesn't work... but what's confusing is that even killing the app doesn't fix it, only restarting ios

Sometimes it works after a few hours again, without restarting the phone. Maybe, because then the app has been really stopped by iOS. Also, I think, closing Safari (all PWAs and Safari itself) helps in restoring the functionality. It does not work immediately, but I feel that this speeds up the process I mentioned before.

@leesalminen
Copy link

As of yesterday July 12 a patch was merged into Webkit that will hopefully resolve this issue. Who knows when it'll get put into iOS though.

https://bugs.webkit.org/show_bug.cgi?id=252465

@Jannis033
Copy link

Jannis033 commented Aug 9, 2023

In IOS 17 Beta Public Beta 2 the issue seems to be resolved. I have tried it multiple times with several PWAs and could not reproduce the issue. In IOS 17 Beta 1 the issue was still present for me.
The only thing I noticed was that the camera image is small for some milliseconds and then gets the full size. Only on first load of the PWA. This is since Beta 1...
// edit: I just got the issue again but I stressed the PWA with closing and reopening very often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants