Is SSL (HTTPS) required to use Camera on device on expo for web?

I haven’t found any concrete information on that yet but is it possible that if I’m not using HTTPS then my device will not even be asked about permissions to allow PWA app to use Camera etc.?

I’ve tried the simplest example of expo managed app, run the web version ‘expo start --web’ and it works.
When I add camera component, it always sais that camera is not available without even asking for permission. Could that be that it’s becuase I’m running http and not https?

Yes you can only use the camera when the website is hosted with https expo start --https

my device will not even be asked about permissions to allow PWA app to use Camera etc.?

On iOS the camera doesn’t work in a PWA (:upside_down_face:) AFAIK there is no definitive way to detect this and throw a warning outside of checking the permission first. In a PWA the permission will return denied pr unavailable.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.