Skip to content

Cannot read this image: unhandled promise rejection #4

@yastrebovb

Description

@yastrebovb

Hey there,

Thanks for providing such a cool solution for react-native. Here is the trouble I'm having right now after trying it out on iOS:

[Unhandled promise rejection: Error: Cannot read this image]
- node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:155:41 in createErrorFromErrorData
- node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:104:55 in <unknown>
- ... 5 more stack frames from framework internals

How I tried using the lib:

  • Capturing an image with react-native camera and then passing it's uri to the function.
  • Passing random image url from the web.

Both of these things caused unhandled promise rejection with this unable to read error. If you could help me it would be great!

Thanks in advance!

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