Skip to content

local image starting with file:// won't work #218

@pierroo

Description

@pierroo

Describe the bug
I recently upgraded RN to 0.73, so I had to upgrade this library to 1.2.6
But since then, markText with src image no longer works

I now get the error "please set image!"
when the image is indeed set.

Devlopment environment(please complete the following information):

  • react-native: 0.73.3
  • react-native-image-marker : 1.2.6

Smartphone (please complete the following information):

  • Device: emulator & device
  • OS: android (for now)

Additional context
Important to note: the image is coming from a viewshot capture, but still, that local file path used to work in previous versions.

EDIT: actually even with a local image using require('pathToImage') I still get the same error :/

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