The Problem
We also have to support zebra devices that have a laser scanner instead of a camera. We are trying to hide the camera icon(and other camera-related CTA’s) if the device has no camera, but I couldn’t find a way to do this with the expo-image-picker plugin.
I saw there was something here: https://docs.expo.dev/versions/latest/sdk/camera/#isavailableasync, but this is for @Web
only.
The Question
What would be the best way to check in the code if the current device has a camera or not?