Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking screenshot while camera is active crashes app on android devices #823

Open
aaronngkk opened this issue Jan 18, 2023 · 1 comment
Open

Comments

@aaronngkk
Copy link

aaronngkk commented Jan 18, 2023

Problem

Application restarts and crashes if user takes a screenshot while camera is active, snaps picture and presses "OK"

Command or Code

image

image

Version information

OS: Android 11
node -v : 14.21.1
cordova -v : 10.0.0 ([email protected])
"cordova-plugin-camera": "^6.0.0"

Logs

image

@aaronngkk aaronngkk changed the title Taking screenshot while camera is active crashes app across android devices Taking screenshot while camera is active crashes app on android devices Jan 18, 2023
@breautek
Copy link
Contributor

Potentially related to #679 with an open PR #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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants