-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Application crash when take picture from camera and accept this image #806
Comments
I have the same issue and tablet, have you solved it? |
Hi @FZampetti, |
Presumably the same issue as #679 |
have something similar, any recommended solution |
Closing as stale. If the "crash" involves the webview restarting, then it isn't a crash. It's the android activity that got killed while the camera is operating, which is normal android lifecycle. Your camera response will be in the If the app is fatally crashing (completely closes, potentially with "App stopped working" dialog, then it is likely related to |
Bug Report
Problem
When I take a picture with the tablet and accept, the application crashes.
What is expected to happen?
The image is successfully added and the alert is displayed.
What does actually happen?
The application is crashed.
Information
When select image from gallery it working fine
When change option to allowEdit to true, no crashes but showed this alert: You can't edit this image.
Command or Code
function setOptions(srcType) { var options = { // Some common settings are 20, 50, and 100 quality: 75, destinationType: Camera.DestinationType.FILE_URI, // In this app, dynamically set the picture source, Camera or photo gallery sourceType: srcType, encodingType: Camera.EncodingType.JPEG, mediaType: Camera.MediaType.PICTURE, allowEdit: false, correctOrientation: true } return options; }
Environment, Platform, Device
Lenovo tab m10 hd
Android: 11
Version information
Cordova 11.0.0
Cordova platform: Android 10.1.2
Cordova plugins:
Android studio: 2021.1
Android sdk-tools:
Java Jdk:
Gradle:
Operating System: Windows 10 Home
Checklist
The text was updated successfully, but these errors were encountered: