Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8268

App crashes when croping a picture taken from camera

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.6.0
    • None
    • cordova-plugin-camera
    • Galaxy S2 (Android 4.0.4), Camera Plugin@0.3.3

    Description

      Some photo editors seem to make an app freeze when cropping a picture taken by camera with allowEdit=true.

      My mobile phone shows two photo editor apps to crop pictures, Crop photo and Crop picture. Actually Crop photo works perfect. But if the Crop picture is chosen, it prompts to set range to crop the picture then save it but the editor app stop responding and it ends up making the entire Cordova app unresponsive. Adding that, the Cordova app cannot be reopened regardless of an attempt to kill the hanged process, unless device is rebooted.

      But strangely the app can crop pictures without any problem when the pictures are retrieved from photo albums (so it's when sourceType is set to PHOTOLIBRARY or SAVEDPHOTOALBUM) and the cropped picture is finely sent to Cordova app.

      Unfortunately I have not identified the reason of this due to limited time at this moment but raise this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shingot Shingo Toda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: