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 2022/11/07 14:40:21 UTC

[GitHub] [cordova-plugin-camera] breautek commented on issue #815: POCO MIUI 13.0.5 ionic camera plugin is crashing while capturing image

breautek commented on issue #815:
URL: https://github.com/apache/cordova-plugin-camera/issues/815#issuecomment-1305713525

   For what it's worth (Not sure if this information is relevant for this issue), Cordova uses the Android's [Intent](https://developer.android.com/reference/android/content/Intent) system. It's a way of delegating responsibilities to another app, which is the recommended approach that Google suggests. It's mainly used so that users don't need to give explicit permissions to dangerous (privacy sensitive) APIs to several apps, like the Camera permissions/APIs. Instead, apps can use the Intent system to effectively open an existing app to handle a specific task, such as a delegated Camera app to capture images on the behalf of another app.
   
   At the basic level this should work with pretty much any Camera app, however more advanced features like cropping, or resizing images can cause issues depending on the camera app in use or how the user chooses which image format they use.
   
   If the camera app allows you, I'd try experimenting with different camera settings (in the camera app itself), for example if it gives you a choice, try using an older/common format like PNG or JPG to see if it solves your issue.
   
   If you're using the `allowEdit` option in the Cordova API, it is known to be defective as support is not guaranteed by the underlying Camera application, so try disabling it.


-- 
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