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 2020/12/28 14:10:35 UTC

[GitHub] [cordova-plugin-camera] ita33 commented on issue #678: App crashing randomly while taking images by camera in iOS14

ita33 commented on issue #678:
URL: https://github.com/apache/cordova-plugin-camera/issues/678#issuecomment-751724791


   I think we may have found a potential fix using a slightly different implementation, however we would need an option added to the plugin to be able to start the camera and leave it started in the background, instead of stopping the camera at the end of each use. We found this potential fix while testing a different camera plugin (cordova-plugin-camera-preview) that has an option to either start and stop the plugin after each use or to start and leave it started in the background. When using this plugin with the start and stop (after each photo capture) option on iOS 14, the app crashes after about 40 photos. When using the option to leave the camera started in the background, we got to 1,000 photos with no crash. We plan to leave the camera plugin open during each photo shoot of a single object, so the user can take their 30 - 50 photos of the object and then close the camera at the end of the shoot. We ran the same test on Android 10 and 11 and believe it may also fix issue #665.
  Is it possible for cordova-plugin-camera to have a similar option to leave the camera started in the background? Thank you in advance for your consideration.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org