NoelDeMartin commented on issue #673:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/673#issuecomment-875521098


   For anyone getting this issue, this has been solved in 
https://github.com/apache/cordova-plugin-camera/pull/684 and 
https://github.com/apache/cordova-plugin-camera/pull/739 but hasn't been merged 
yet. Until the fix is released, you can fix it by adding the following to the 
config.xml in your project (under `<platform name="android">`):
   
   ```xml
   <config-file parent="/*" target="AndroidManifest.xml">
       <queries>
           <intent>
               <action android:name="android.media.action.IMAGE_CAPTURE" />
           </intent>
           <intent>
               <action android:name="android.intent.action.GET_CONTENT" />
           </intent>
       </queries>
   </config-file>
   ```
   
   If you're using `allowEdit`, you should also add 
`android.intent.action.PICK`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to