3 ms·
How many people are using the camera in pinned web apps? What's the app you use? I'd imagine most camera-related functions are already best served by native app
by milesokeefe 9y ago
How many people are using the camera in pinned web apps? What's the app you use? I'd imagine most camera-related functions are already best served by native apps.
- thrusong 9y agoDoes that make it OK? I mean, something as important to the web as getUserMedia is broken on websites only if you pin it to the home screen. Forcing people into Apple's walled garden doesn't seem like an acceptable excuse.
- milesokeefe 9y agoIt's certainly not acceptable, I just think it hasn't been a priority for Apple since it's a relatively niche usecase. It could also be a security/privacy decision to leave it broken but safe until they can implement camera access through WebViews securely. The closest to any official reason I could find is a dev letting us know that mum's the word: >I asked about this internally and the answer is that, right now, WebRTC is only supported in Safari. No WKWebView, not even SFSafariViewController. https://forums.developer.apple.com/thread/88052#266901 https://forums.developer.apple.com/thread/88052#266901