Publisher | yasirkula |
---|---|
File size | 61.78kB |
Number of files | 12 |
Latest version | 1.4.3 |
Latest release date | 2024-03-12 01:31:54 |
First release date | 2018-05-22 01:13:18 |
Supported Unity versions | 2018.4.2 or higher |
Introductory price.. Not! It will always remain Free. Grab it whenever you want!
About
This plugin helps you take pictures/record videos natively with your device's camera on Android & iOS.
Features
- Prompt the user to take a picture/record a video with the camera and fetch its path in a callback
- Supports runtime permissions (for Android M and later)
FAQ
- Can't use the camera, it says "Can't find ContentProvider, camera is inaccessible!" in Logcat
After building your project, verify that NativeCamera's provider tag is inserted in-between the application tags of PROJECT_PATH/Temp/StagingArea/AndroidManifest.xml. If not, please create a new Issue on GitHub.
- Can't use the camera, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.NativeCamera" in Logcat
If you are sure that your plugin is up-to-date, then enable "Custom Proguard File" option from Player Settings and add the following line to that file: -keep class com.yasirkula.unity.* { *; }
Older Versions
For older versions of Unity, you can download the plugin from GitHub. Supports at least Unity 5.6.
Forum Thread | GitHub Page | Documentation | Discord
Support the Developer ☕