Open Singosgu opened 2 years ago
Hi,
I can't speak for the camera plugin but I do have a note in the readme from years ago that states "If you are installing this plugin along with cordova-plugin-camera you MUST install cordova-plugin-camera first."
That note would have been written before this plugin supported Android X. Please note that:
So, perhaps you also need to use the older version of this plugin prior to Android X support.
Hope that helps
Hi,
Yes, I c .
if you use
cordova plugin add cordova-plugin-camera
to install camera , it will clash with this plugin.
if
cordova plugin add https://github.com/apache/cordova-plugin-camera.git
it's ok . no clash .
it seems cordova initial plugin not update to latest .
If you use
to install camera plugin . It will clash with this plugin . The reason is this camera plugin use too old api of android .
You must fix cordova-plugin-camera| FileProvider.java Line 21 : "android.support.v4.content.FileProvider" Change To "androidx.core.content.FileProvider" CameraLauncher.java Line 42 : "android.support.v4.content.FileProvider" Change To "androidx.core.content.FileProvider"