Android not loading an image from URL, works on iOS though. #1198
Unanswered
harrymamba
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hey there, I was just testing this and I'm experiencing the same even using the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Im trying to load an image using a URL and render on a canvas to draw something on top of it. Everything works on iOS, android is throwing a file not found exception though. Only file URLs is not working on android, when its coming from the phone's camera/storage it works. Same URL works using react native's image component.
The code below is using the same image that worked on iOS. Not sure what I'm doing incorrectly here. Would appreciate some advice.
This is how the image URL is converted into a skia image.
and used as
Beta Was this translation helpful? Give feedback.
All reactions