You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/11/17 12:05:12 UTC
[GitHub] [cordova-plugin-camera] bjornlain2 commented on issue #777: ionic android 11 camera not opening
bjornlain2 commented on issue #777:
URL: https://github.com/apache/cordova-plugin-camera/issues/777#issuecomment-971515977
I finally was able to fix it with by adding : xmlns:android="http://schemas.android.com/apk/res/android"
So you have to add this to your config.xml :
`<config-file parent="/*" target="AndroidManifest.xml" xmlns:android="http://schemas.android.com/apk/res/android">
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<action android:name="android.intent.action.GET_CONTENT" />
</intent>
</queries>
</config-file>`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org