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

When calling the Image.getSize method, an error is reported. #45339

Closed
nianxiongdi opened this issue Jul 9, 2024 · 6 comments
Closed

When calling the Image.getSize method, an error is reported. #45339

nianxiongdi opened this issue Jul 9, 2024 · 6 comments
Labels
Component: Image Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@nianxiongdi
Copy link

nianxiongdi commented Jul 9, 2024

Description

When calling the Image.getSize method, an error is reported. The error message is failed to get size for image https://xxxx/xxx.png

Steps to reproduce

scaffolding tools

React Native Version

0.73.0

Affected Platforms

Build - MacOS

Output of npx react-native info

failed to get size for image  https://xxxx/xxx.png

Reproducer

Screenshots and Videos

No response

Copy link

github-actions bot commented Jul 9, 2024

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.73.8. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@github-actions github-actions bot added Component: Image Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@cortinico
Copy link
Contributor

Please provide a valid repro

@efstathiosntonas
Copy link

efstathiosntonas commented Jul 26, 2024

@cortinico I've starting getting this error on iOS with images being picked by the library on 0.74.3

Failed to getSize of file:///var/mobile/Containers/Data/Application/1CFA2DA2-6D24-44E1-A36C-BA4D579EE700/tmp/AA057E22-3A8E-4ABD-A01A-D15B44BB9FF3.jpg

this is the full stack trace:

Screenshot 2024-07-26 at 12 12 08

It's hard to repro, I use rreact-native-image-picker and it appears it's totally random.

@react-native-bot
Copy link
Collaborator

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 20, 2024
@react-native-bot
Copy link
Collaborator

This issue was closed because the author hasn't provided the requested feedback after 7 days.

@react-native-bot react-native-bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Image Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants