You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/08/09 11:57:17 UTC
[cordova-plugin-camera] branch master updated: fix(android):
supports sdk-30 package visibility (#684)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-camera.git
The following commit(s) were added to refs/heads/master by this push:
new abfbbd3 fix(android): supports sdk-30 package visibility (#684)
abfbbd3 is described below
commit abfbbd35d570f8bf60c3bcaa5a930cb74fdb5eac
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Mon Aug 9 20:57:12 2021 +0900
fix(android): supports sdk-30 package visibility (#684)
---
plugin.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/plugin.xml b/plugin.xml
index 9caa4d8..f13f9cd 100644
--- a/plugin.xml
+++ b/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" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org