-
Notifications
You must be signed in to change notification settings - Fork 49
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
Camera freeze in iOS safari browser (PWA) #64
Comments
Which version of iOS? |
same happens to me. ios 14.0 |
+1 (iOS 14.1, iPad Pro) |
Can confirm running Ionifits app in Safari browser or as installed PWA. Specs:
To repro, open https://ionifits.ionicframework.com on an iOS device. On login screen, take SKIP button, tap Expenses tab, tap FAB button at bottom to open modal, then tap the Camera FAB to open the device camera. The front facing camera loads and the image freezes right away. after about 2 seconds, the camera window turns to black. Running on the web (desktop), get this error in console: Uncaught (in promise) TypeError: Cannot read property 'length' of undefined at o.initPhotoCapabilities |
If helpful in finding the issue:
When it freezes, if you tap the red camera icon in Safari's search/URL base to turn the camera off, then back on again, everything works as expected. |
As mentioned in the other thread https://github.com/ionic-team/capacitor/issues/3656, iOS 14.3 seems to solve this issue. I guess we have to wait and the problem will sort out itself. |
I upgraded from iPad OS 14.0.1 to 14.4 and this solved the issue, I think this issue can be safely closed. The link to the other thread is: ionic-team/capacitor#3656 (something is wrong with the link above) I couldn't find anything official from Apple about this, the Apple developer thread is: https://developer.apple.com/forums/thread/667453 |
closing since it was an iOS issue and was fixed by apple |
Resources:
Before submitting an issue, please consult our docs.
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
Camera freeze after camera launch for 1-2 seconds on iOS PWA.
Need press on the safari video recording button twice (disable and enable back the video recording) to make it working properly.
Expected behavior:
Steps to reproduce:
Related code:
Other information:
The text was updated successfully, but these errors were encountered: