Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not able to load from memory #60

Closed
samtuga1 opened this issue Feb 26, 2023 · 0 comments · Fixed by #63
Closed

Image not able to load from memory #60

samtuga1 opened this issue Feb 26, 2023 · 0 comments · Fixed by #63

Comments

@samtuga1
Copy link

Describe the bug
An error of The following ArgumentError was thrown resolving an image codec: Invalid argument(s): No host specified in URI file:///private/var/mobile/Containers/Data/Application/663B9B55-3FC3-4D72-B21D-CC14A69EED28/tmp/image_picker_E4842E9F-CA6B-48FA-A4E3-ED138AD1D794-8270-000005E06656CA94.jpg is thrown whenever I try to send an image from my device.

Expected behavior
I expected an image to be sent from the device as a message but it throws an error.

Screenshots
This is how it is appearing
IMG_0348

Screenshot 2023-02-26 at 5 56 17 PM

From the above image, I think its trying to use NetworkImage to load the image, meanwhile I picked the image from memory. I think the problem is coming from the extension you're using to detect whethe its a network image or not(```.fromMemory```)

Desktop (please complete the following information):

  • OS: macOS

Smartphone (please complete the following information):

  • Device: Iphone 11
  • OS: iOS 16.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant