Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 No camera device found in IOS simulator #1847

Closed
5 tasks done
hamdij0maa opened this issue Sep 25, 2023 · 1 comment · Fixed by #1848
Closed
5 tasks done

🐛 No camera device found in IOS simulator #1847

hamdij0maa opened this issue Sep 25, 2023 · 1 comment · Fixed by #1848
Labels
🐛 bug Something isn't working

Comments

@hamdij0maa
Copy link

What's happening?

image

Reproduceable Code

const device = useCameraDevice(cameraPosition, {
    physicalDevices: [
      'ultra-wide-angle-camera',
      'wide-angle-camera',
      'telephoto-camera',
    ],
  });
// this hook should check if we are in the simulator it should return null or undefined, without throwing an error in case of a simulator.

Relevant log output

No camera device could be found!

Camera Device

{

}

Device

Simulator iPhone 15

VisionCamera Version

3.1.0

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

@mrousavy
Copy link
Owner

Whoops, sorry. Fix: #1848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
2 participants