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

Does this needs special permissions in the simulator to access the camera? #3

Open
SethPaulM opened this issue Aug 3, 2021 · 2 comments

Comments

@SethPaulM
Copy link

I am trying to run this code using the simulator and after clicking Face Mask, another window pops up and just sits there. There are no errors, but nothing else shows up. Not sure if it is that I am on a newer version than what this was previously built on or not.

@omarmhaimdat
Copy link
Owner

The camera feature doesn't work on the emulator, you need to build it on a real phone

Sent with GitHawk

@SethPaulM
Copy link
Author

I was able to get the app showing on a real phone. I also didn't know I needed to add the NSCameraUsageDescription key and string to the Info.plist. Once I added that, I was able to get the app working. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants