fix(android): update queries in plugin.xml (#780)

Solves the issue with duplicate queries elements in AppManifest.xml

https://github.com/apache/cordova-plugin-camera/issues/779
This commit is contained in:
Marcus Abrahamsson 2022-03-18 01:08:13 +01:00 committed by GitHub
parent bf12b39d18
commit 53223c3df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,22 +69,20 @@
</provider> </provider>
</config-file> </config-file>
<config-file target="AndroidManifest.xml" parent="/*"> <config-file target="AndroidManifest.xml" parent="queries">
<queries> <intent>
<intent> <action android:name="android.media.action.IMAGE_CAPTURE" />
<action android:name="android.media.action.IMAGE_CAPTURE" /> </intent>
</intent> <intent>
<intent> <action android:name="android.intent.action.GET_CONTENT" />
<action android:name="android.intent.action.GET_CONTENT" /> </intent>
</intent> <intent>
<intent> <action android:name="android.intent.action.PICK" />
<action android:name="android.intent.action.PICK" /> </intent>
</intent> <intent>
<intent> <action android:name="com.android.camera.action.CROP" />
<action android:name="com.android.camera.action.CROP" /> <data android:scheme="content" android:mimeType="image/*"/>
<data android:scheme="content" android:mimeType="image/*"/> </intent>
</intent>
</queries>
</config-file> </config-file>
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" /> <source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />