mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
fix(android): supports sdk-30 package visibility (#684)
This commit is contained in:
parent
59cf76d1da
commit
abfbbd35d5
18
plugin.xml
18
plugin.xml
@ -69,6 +69,24 @@
|
||||
</provider>
|
||||
</config-file>
|
||||
|
||||
<config-file target="AndroidManifest.xml" parent="/*">
|
||||
<queries>
|
||||
<intent>
|
||||
<action android:name="android.media.action.IMAGE_CAPTURE" />
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.GET_CONTENT" />
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.PICK" />
|
||||
</intent>
|
||||
<intent>
|
||||
<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" />
|
||||
<source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
|
||||
<source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
|
||||
|
Loading…
Reference in New Issue
Block a user