RESOLVED CONFIGURATION CHANGED Bug 273046
Camera freezes on installed PWA, as of iOS 17.4.1
https://bugs.webkit.org/show_bug.cgi?id=273046
Summary Camera freezes on installed PWA, as of iOS 17.4.1
Quinn Casey
Reported 2024-04-21 11:57:05 PDT
Not my iPhone, so I don't have the exact debug information, but a few users are experiencing this. Device: iPhone 14 Pro Max (MQ8T3LL/A) @ iOS 17.4.1 scanapp.org freezes when installed to home screen as a PWA, but not in the browser. This effects not just this JS camera library, but other react camera libs as well, making me think it's a webkit/ios issue introduced early last week. https://github.com/mebjas/html5-qrcode/issues/713#issuecomment-2066114915
Attachments
Bug screen recording (2.02 MB, video/quicktime)
2024-05-11 10:36 PDT, Quinn Casey
no flags
Radar WebKit Bug Importer
Comment 1 2024-04-22 08:58:00 PDT
Ahmad Saleem
Comment 2 2024-04-23 05:59:02 PDT
@Quinn - I am getting this behavior - please correct my understanding the bug: 1) Go to `scanapp.org` 2) Add to 'Home Page' on iOS 17.4.1 3) Open the app from PWS 4) Click on 'Request' Permissions for camera (front / back) whatever 5) Allow 'Permissions' 6) Click on 'Scan' 7) Once scanned 'press' stopped: Expected Result: Show 'something' when stopped Actual Result: Showed that 'stopping' is stuck. ___ @Quinn - appreciate if you can clarify any steps on how to reproduce precisely but I have tested following above and share my understanding so far. I don't get any issue in terms of 'camera' freeze.
Quinn Casey
Comment 3 2024-04-23 08:19:52 PDT
@Ahmad Thanks for your response, I'll get back to you with steps and a screen recording to reproduce this bug this weekend.
Amina
Comment 4 2024-05-09 02:18:06 PDT
I'm experiencing a camera issue with my PWA. Specifically, the barcode scanner on Flutter web and iOS displays a black screen instead of the camera feed. The barcode scanner functions normally within the Safari browser, but the camera feed turns black when I add the app to the home screen. The scanner previously worked with the older version, but it's now broken on iOS 17.4.1.
Amina
Comment 5 2024-05-09 04:12:55 PDT
(In reply to Amina from comment #4) > I'm experiencing a camera issue with my PWA. Specifically, the barcode > scanner on Flutter web and iOS displays a black screen instead of the camera > feed. > > The barcode scanner functions normally within the Safari browser, but the > camera feed turns black when I add the app to the home screen. > > The scanner previously worked with the older version, but it's now broken on > iOS 17.4.1. I've fixed this issue by upgrading both Flutter and barcode scanner library versions. I can't remove the comment, so I'm writing this to indicate that it shouldn't be considered a WebKit issue
Quinn Casey
Comment 6 2024-05-11 10:36:56 PDT
Created attachment 471369 [details] Bug screen recording Sorry about the delay, I got a screen recording of the bug. When PWA-ed, the site freezes when launching the camera. This does not occur when just a Safari tab. This site is just a public demo of the bug, I'm experiencing the same problem on a few other react camera libraries of varying versions.
Quinn Casey
Comment 7 2024-05-11 10:39:02 PDT
For reproducing: 1) Go to `scanapp.org` 2) Add to 'Home Page' on iOS 17.4.1 3) Open the app from PWS 4) Click on 'Request' Permissions for camera (front / back) whatever 5) Allow 'Permissions' 6) Click on 'Start Scanning' 7) Note how site freezes, no element on the page responds until the PWA is force closed. I do not experience this on a regular iPhone 14 @ iOS 17.4.1
Quinn Casey
Comment 8 2024-05-14 16:03:23 PDT
From our testing, this has been resolved in iOS 17.5
Alexey Proskuryakov
Comment 9 2024-05-14 16:26:47 PDT
Thank you for the follow-up!
Gio Cacchione
Comment 10 2024-06-14 05:33:06 PDT
I am experiencing the same issue as @Quinn. I am on iPhone 13 iOS 17.5.1 Everything was working fine on 17.5 but started seeing issues again after the update to 17.5.1 I tested my wife's iPhone (12 Mini also on 17.5.1) and weirdly it works fine. Any help with this bug is greatly appreciated!
Quinn Casey
Comment 11 2024-06-14 05:38:31 PDT
This issue also came back in 17.5.1 on our iPhone 14 Pro Max.
Alexey Proskuryakov
Comment 12 2024-06-14 15:47:02 PDT
It's probably best to file a new bug if you don't mind, to avoid potential confusion.
Note You need to log in before you can comment on or make changes to this bug.