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 doesn't work in iOS PWA mode #76
Comments
@phong-et this is unfortunately a limitation of Safari - WebRTC video is only allowed in Safari. |
Thank you ! |
@phong-et Arguably, user experience is not so good but note that the QrcodeCapture component also starts the camera on iOS 11.3+ |
|
Did you confuse ? I saw you also commented this message in issue #78 |
Ah dammit! Those comments are automatically posted by semantic-release when I close issues in commit messages. I referenced this issue in a commit where I updated the README. Sorry, this is not resolved 😕 |
Is it possible to use HTML Media Capture instead of getUserMedia? It seems to be working even in PWA mode, although it is not real time. |
@a-rodin Yes. However, it only works in iOS 11.3+. See: https://stackoverflow.com/questions/46228218/how-to-access-camera-on-ios11-home-screen-web-app |
@gruhn can you confirm, that it works on iOS 11.3+ in PWA mode? |
This only concerns |
Any news on this? I am also trying to use my PWA on ios and the scanner doesnt appears there, only on safari. |
I think Apple don't care about PWA, if PWA is so smooth, the App Store will be decreased revenue. |
I'm new to this and developing against a 7th gen iPad with iOS 13.4, and it seems to work well including in standalone/PWA mode. Perhaps this issue was recently addressed? I read this before trying and was worried it would block, but appears not to be the case. Can anyone else confirm the above applies with iOS Safari 13.4 -- it would be helpful to know if there is still something I'm missing or if I just lucked out on timing? The only issue I see is a hang/black camera view when the app goes to background then comes back again via tapping home then the app icon. |
Oh, it's a good news, I left PWA project because some its features aren't smooth with iOS device before, I also changed to android phone, hope anyone will test again this issue. |
@NoahStahl you're right! They seem to have fixed it in iOS 13.4: |
iOS 13.4 now supports stream api in home screen web apps See: #76
Hi, I deployed my web app to heroku host
Camera load successfully on browser and pwa of android device, and it still works on iOS browser(Safari).
When I used iOS PWA mode (select "Add to Home Screen" Safari's right menu item) but it can't load camera correctly. I installed latest version (v1.3.0).
Have you ever met this issue ?
Thanks for your reading :)
The text was updated successfully, but these errors were encountered: