Skip to content

Crashes when width/height options set on iOS #74

@mreall

Description

@mreall

If the demo apps cannot help and there is no issue for your problem, tell us about it

I upgraded to the latest version (4.0.1) and now when I pass in a width and height to the show() method per the instructions it throws an error. Stepping through the debugger, it looks like UIGraphicsGetImageFromCurrentImageContext() in imagecropper.ios.js is returning null.

Passing a width and height prior to upgrading worked fine. Also, if I don't pass a width and height, the cropper works as expected.

Which platform(s) does your issue occur on?

  • iOS 14
  • emulator: iPhone 8

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.0.8
  • Cross-platform modules: 7.0.3
  • Runtime(s): ios: 7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions