This extension provides a unified, simple to use interface to capture images using the camera on macOS, iOS and Android.
To use this library in your Defold project, add the following URL to your game.project
dependencies:
https://github.com/defold/extension-camera/archive/master.zip
We recommend using a link to a zip file of a specific release.
Refer to the example project.
To test macOS camera permission popup multiple times you can reset the permission from the terminal:
tccutil reset Camera
The source code is available on GitHub
Did you spot an error or do you have a suggestion? Please let us know on GitHub!
GITHUB