cordova-plugin-camera
cordova-plugin-camera copied to clipboard
Taking screenshot while camera is active crashes app on android devices
Problem
Application restarts and crashes if user takes a screenshot while camera is active, snaps picture and presses "OK"
Command or Code
Version information
OS: Android 11 node -v : 14.21.1 cordova -v : 10.0.0 ([email protected]) "cordova-plugin-camera": "^6.0.0"
Logs
Potentially related to https://github.com/apache/cordova-plugin-camera/issues/679 with an open PR https://github.com/apache/cordova-plugin-camera/pull/781
If you could try testing that PR to see if it will solve your issue
cordova plugin remove cordova-plugin-camera
cordova plugin add https://github.com/dongourdet/cordova-plugin-camera.git#android-recoverable-security-exception