We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I dont know if this is a Bug.
The docs says that RCTImageFromLocalAssetURL loads only local images.
RCTImageFromLocalAssetURL
// Returns an UIImage for a local image asset. Returns nil if the URL // does not correspond to a local asset.
But in recent version of RN, it is also loading image from web (https).
My question is, this is intentional? Because this breaks my previous logic.
Yes.
Environment: OS: macOS Sierra 10.12.6 Node: 6.11.3 Yarn: 1.3.2 npm: 5.5.1 Watchman: 4.9.0 Xcode: Xcode 9.1 Build version 9B55 Android Studio: EAP AI-171.4429293 AI-171.4429293
Packages: (wanted => installed) react: 16.0.0 => 16.0.0 react-native: 0.50.3 => 0.50.3
Call RCTImageFromLocalAssetURL with a web image URI.
Return nil if a non local image is provided.
nil
This is loading image from the web.
The text was updated successfully, but these errors were encountered:
@facebook-github-bot no-template
Sorry, something went wrong.
@react-native-bot @facebook-github-bot now have template ¬¬
#16800
No branches or pull requests
Is this a bug report?
I dont know if this is a Bug.
The docs says that
RCTImageFromLocalAssetURL
loads only local images.But in recent version of RN, it is also loading image from web (https).
My question is, this is intentional? Because this breaks my previous logic.
Have you read the Contributing Guidelines?
Yes.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 6.11.3
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: EAP AI-171.4429293 AI-171.4429293
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.3 => 0.50.3
Steps to Reproduce
Call
RCTImageFromLocalAssetURL
with a web image URI.Expected Behavior
Return
nil
if a non local image is provided.Actual Behavior
This is loading image from the web.
The text was updated successfully, but these errors were encountered: