You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Letting the user to choose/increase/decrease the maximum amount of space dedicated for caching will be fantastic. At the moment this value is constant (50MB I guess).
Supported sources are limited. It is almost impossible to write a native image component on top of react native to support your own image source, e.g. to show ID3 images of MP3 files over the network. Reading Java code, it doesn't seems it is extendible; it has a few hard coded switch cases in the code to detect type of source.
In android, it is better to cache images in application's cache directory rather than it's data directory.
This discussion was converted from issue #328 on June 10, 2021 10:53.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Introduction
There are a few reasons an image URI might not be the optimal choice for key of cached images:
Details
When creating an Image component, adding an optional key attribute that defaults to uri can improve caching ability in react native.
Discussion points
Just accept a key for caching.
PS: Here are some other image related notes:
Beta Was this translation helpful? Give feedback.
All reactions