IMPORTANT: it is no longer necessary to apply these steps manually. In fact, doing so may result in build errors like "duplicate <provider> entries in AndroidManifest.xml" and etc.
<application>...</application>
tag of your AndroidManifest, insert the following code snippet:<provider android:name="com.yasirkula.unity.NativeCameraContentProvider" android:authorities="MY_UNIQUE_AUTHORITY" android:exported="false" android:grantUriPermissions="true" />
Here, you should change MY_UNIQUE_AUTHORITY with a unique string. That is important because two apps with the same android:authorities string in their <provider>
tag can't be installed on the same device. Just make it something unique, like your bundle identifier, if you like. For example:
<manifest>...</manifest>
tag of your AndroidManifest, insert <uses-feature android:name="android.hardware.camera" android:required="false" />
to declare that your app benefits from camera (if your app requires a camera/can't run without one, then change the value of android:required to true)NOTE: if you are also using the NativeShare plugin, make sure that each plugin's provider has a different android:authorities string.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4