aximobile edited a comment on issue #554: Camera plugin crashes Android 9 device URL: https://github.com/apache/cordova-plugin-camera/issues/554#issuecomment-584087578 I believe the root cause of the problem is primarily the increasing resolution of photos by newer Android devices in combination with the amount of memory on the device. I've tested the plugin on two devices: **Device 1: Samsung Galaxy tab S2(2016)** - Memory: 3GB - Android version: 7.0 - Approx image size: 3264x2448 - Never crashes **Device 2: Samsung Galaxy tab S5e(2019)** - Memory: 4GB - Android version: 9.0 - Approx image size: 4128x3096 - Random crash interval Other things worth mentioning: - The S2 tablet takes pictures MUCH faster then the S5e tablet. When I take a picture on the S5e tablet, it takes some time for the OS to send the image from the native camera to my Ionic app while this process doesn't even take a second on the S2 tablet. Everything feels much smoother on the S2 tablet then on the S5e tablet. - The moment I take a picture on the S5e tablet, the camera app 'hangs' for 2 seconds. This is not the case on the S2 tablet.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
