mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
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:
parent
bf12b39d18
commit
53223c3df2
30
plugin.xml
30
plugin.xml
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user