react-native-fast-image 8.17.0 → 8.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,7 +107,10 @@ RCT_EXPORT_METHOD(preload:(nonnull NSArray<FFFastImageSource *> *)sources
107
107
  }
108
108
  [results addObject:[NSNull null]];
109
109
  // A source's own priority replaces the prefetcher's, as on Android.
110
- SDWebImageOptions options = prefetcherOptions;
110
+ // Failed urls are tried again, as views do (SDWebImage otherwise
111
+ // fails a url that failed before, e.g. with data that isn't an
112
+ // image, without a request until the app is relaunched, #394).
113
+ SDWebImageOptions options = prefetcherOptions | SDWebImageRetryFailed;
111
114
  if (source.hasPriority) {
112
115
  options &= ~(SDWebImageLowPriority | SDWebImageHighPriority);
113
116
  if (source.priority == FFFPriorityLow) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-fast-image",
3
- "version": "8.17.0",
3
+ "version": "8.17.1",
4
4
  "description": "🚩 FastImage, performant React Native image component.",
5
5
  "keywords": [
6
6
  "cache",