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,8 +69,7 @@
</provider>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<queries>
<config-file target="AndroidManifest.xml" parent="queries">
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
@ -84,7 +83,6 @@
<action android:name="com.android.camera.action.CROP" />
<data android:scheme="content" android:mimeType="image/*"/>
</intent>
</queries>
</config-file>
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />