Hi. I’m having trouble accessing the camera on using expo for web.
What I do is:
-
I follow the very basic instructions of adding web support to expo managed app (web-examples/README.md at master · expo/web-examples · GitHub)
-
And then I use basic camera example from expo docs: https://docs.expo.io/versions/v33.0.0/sdk/camera/#basic-example
-
And then I run the project locally with ‘expo start --web’, the web app is exposed on 192.168.0.235:19006 as expected.
Result
I always get the hasCameraPermission as false when I open this on the phone (Androis OS). I would expect that I will be asked for permission and then if I grant it, my chrome browser will open the camera.
Has anyone encountered this?