0

I found this list of the available ios app URl schemes: https://ios.gadgethacks.com/news/always-updated-list-ios-app-url-scheme-names-0184033/

The camera app is not in this list. Trying camera:// does give a prompt to open the Camera app, however on accepting us errors with "address is invalid".

What is the correct way to open the Camera App on iOS via such an URL scheme?

moritz
  • 366
  • 3
  • 17
  • 1
    I don't know the answer, but please look here: https://stackoverflow.com/a/13510214/2567725 – olha Nov 26 '20 at 13:54
  • 1
    The answer is you cannot open that app and the question is why you need that? You have possibility to put camera view into your app using AVCaptureSession. – Łukasz Łabuński Nov 26 '20 at 14:02
  • I have some application that works with offline QR codes. I want to have a button on my mobile website to open the camera app of the phone. Thanks for the link @olha, but it is from 2012. – moritz Nov 27 '20 at 14:16
  • 1
    But when you will scan the QR code using Camera app then OS will open it in Safari. So it's kind of weird that on browser you will trigger Camera App and safari will open another card with the value from QR code. Do you think maybe about WebRTC solution? for example https://www.npmjs.com/package/vue-qrcode-reader – Łukasz Łabuński Dec 05 '20 at 10:57
  • thanks @ŁukaszŁabuński I guess using this package or something similar would make sense! – moritz Dec 09 '20 at 15:16

0 Answers0