Skip to content

Cordova-plugin-camera crashes app on android devices #660

@lanadedstudio

Description

@lanadedstudio

Issue Type

  • Bug Report
  • Feature Request
  • Support Question

Description

The app crashes when the photo is captured. Error checked on Android 9 and 10, on IOS works well

Information

Command or Code

    navigator.camera.getPicture(this.onSuccess, this.onFail, {
        quality: 50,
        allowEdit: false,
        correctOrientation: true,
        allowEdit: true,
        destinationType: destinationType.DATA_URL
    });

Environment, Platform, Device

Version information

Cordova Packages:

cli: 10.0.0
    common: 4.0.2
    create: 3.0.0
    lib: 10.0.0
        common: 4.0.2
        fetch: 3.0.0
        serve: 4.0.0

Project Installed Platforms:

android: 8.1.0
ios: 6.1.1

Project Installed Plugins:

cordova-plugin-actionsheet: 2.3.3
cordova-plugin-add-swift-support: 2.0.2
cordova-plugin-biometric: 0.0.3
cordova-plugin-camera: 4.0.3
cordova-plugin-dialogs: 2.0.2
cordova-plugin-file-transfer: 1.7.1
cordova-plugin-file: 6.0.2
cordova-plugin-fingerprint-aio: 3.0.1
cordova-plugin-geolocation: 4.0.2
cordova-plugin-keyboard: 1.2.0
cordova-plugin-network-information: 2.0.2
cordova-plugin-whitelist: 1.3.4

Checklist

  • I searched for already existing GitHub issues about this
  • I updated all Cordova tooling to their most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions