cordova-filechooser conflicts with cordova-plugin-camera
Opened this issue · 0 comments
ryaa commented
It seems that cordova-filechooser conflicts with cordova-plugin-camera. Adding both plugins to ionic/cordova project breaks the build. The error as below
Element provider#android.support.v4.content.FileProvider at AndroidManifest.xml:15:9-17:20 duplicated with element declared at AndroidManifest.xml:12:9-14:20
It seems that this is caused by the below in AndroidManifest.xml
<provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths" />
</provider>
<provider android:authorities="com.mobile.boss811.opener.provider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
</provider>