Camera inputs don't work for home screen web apps

Originator:nivi
Number:rdar://34209726 Date Originated:September 1 2017, 6:04 PM
Status:Duplicate/34059209 Resolved:
Product:iOS + SDK Product Version:
Classification: Reproducible:
 
Area:
Something not on this list

Summary:
Input elements with `capture="camera"` no longer work in iOS 11 when added to the home screen. They still work in Safari.

Steps to Reproduce:
- Open https://colons.co/photo-upload/ (or the attached HTML file) in safari on iOS 11
- Observe that tapping the input field fires up the camera and you can take a photo
- Hit the share button and add it to the home screen
- Load up the home screen version
- Tap the input field

Expected Results:
A camera that I can take photos with

Actual Results:
A non-functioning camera that just shows blackness and you can't take photos with

Version/Build:
iOS 11; developer betas 7, 8, and 9

Configuration:
I've tried on an iPhone 6, a 7, and an iPad mini 4; all of them exhibit this behaviour.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!