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 2022/08/03 12:51:44 UTC
[GitHub] [cordova-plugin-camera] mobiliseapplabllp opened a new issue, #803: Application is Crash when take picture from camera
mobiliseapplabllp opened a new issue, #803:
URL: https://github.com/apache/cordova-plugin-camera/issues/803
# Bug Report
## Problem
Application is crashed when take picture from camera
### What is expected to happen?
when picture is taken then image file_url show
### What does actually happen?
Application is crahsed and restart automatically
## Information
When select image from gallery it working fine
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
photoOption(src, val) {
const options: CameraOptions = {
quality: 60,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
sourceType: src,
correctOrientation: true
};
this.camera.getPicture(options).then((imageData) => {
this.convertImageToFile(imageData, val);
}, (err) => {
alert(JSON.stringify(err));
});
}
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
Android one plus nord 5
### Version information
Ionic:
Ionic CLI : 6.19.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.1.1
@angular-devkit/build-angular : 0.803.25
@angular-devkit/schematics : 8.3.25
@angular/cli : 8.3.25
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 19 other plugins)
Utility:
cordova-res (update available: 0.15.4) : 0.11.0
native-run (update available: 1.6.0) : 1.5.0
System:
Android SDK Tools : 26.1.1 (/Users/apple/Library/Android/sdk/)
ios-sim : 8.0.2
NodeJS : v14.17.0 (/usr/local/bin/node)
npm : 8.3.0
OS : macOS Monterey
Xcode : Xcode 13.4.1 Build version 13F100
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
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
[GitHub] [cordova-plugin-camera] jcesarmobile closed issue #803: Application is Crash when take picture from camera
Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #803: Application is Crash when take picture from camera
URL: https://github.com/apache/cordova-plugin-camera/issues/803
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-camera] jcesarmobile commented on issue #803: Application is Crash when take picture from camera
Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #803:
URL: https://github.com/apache/cordova-plugin-camera/issues/803#issuecomment-1271344168
closing since there was no response and looks like a duplicate of #679
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-camera] jcesarmobile commented on issue #803: Application is Crash when take picture from camera
Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #803:
URL: https://github.com/apache/cordova-plugin-camera/issues/803#issuecomment-1247286474
What’s the crash error message?
What’s the android version of the device?
Can you provide a sample app?
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-camera] mac89 commented on issue #803: Application is Crash when take picture from camera
Posted by GitBox <gi...@apache.org>.
mac89 commented on issue #803:
URL: https://github.com/apache/cordova-plugin-camera/issues/803#issuecomment-1271271041
Presumably the same issue as #679
--
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.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
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