Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-sdwebimage

thanhcuong1990127MIT1.3.1

SDWebImage for React Native iOS

react-native, image, cached, priority, ios, react-native-SDWebImage, RNSDWebImage, SDWebImage

readme

SDWebImage for React Native iOS

React Native SDWebImage is released under the MIT license. Current npm package version. Current npm package download in last month. PRs welcome!

Getting started

$ npm install react-native-sdwebimage --save

Mostly automatic installation

$ react-native link react-native-sdwebimage
$ cd ios && pod install

Usage

import RNSDWebImage from 'react-native-sdwebimage';

<RNSDWebImage
  style={{ width: 100, height: 100 }}
  source={{
    uri: 'https://i.imgur.com/Hep1hx2.jpg',
    priority: RNSDWebImage.priority.high
  }}
  resizeMode="cover"
/>

License

React Native SDWebImage is MIT licensed, as found in the LICENSE file.

changelog

Bug Fixes

  • Update podspec.

1.3.1 (2022-08-29)

Bug Fixes

  • Fix Invariant Violation: ViewPropTypes has been removed from React Native.

1.3.0 (2022-08-17)

Updates

1.2.5 (2021-10-20)

Features

  • Update SDWebImage/Core

1.2.4 (2020-10-15)

Refactor

  • Refactor podspec

1.2.3 (2020-10-12)

Features

  • Support to build with Xcode 12 (XCode 12 is required)

1.2.2 (2020-02-07)

Features

  • Update SDWebImage version 4.4.8

1.2.1 (2019-08-01)

Features

  • Upgrade to support React Native 0.60.4

1.2.0 (2019-07-07)

Features

1.1.6 (2019-06-16)

Bug Fixes

  • Fix podspec issue.

1.1.5 (2019-06-16)

Bug Fixes

  • Fix missing FLAnimatedImage.

1.1.4 (2019-06-16)

Bug Fixes

  • Use SDWebImage 4.4.7 to reduce crashes (SDWebImageDownloaderOperation.m line 410).

1.1.3 (2019-06-05)

Features

  • Upgrade SDWebImage 5.0.6 for Xcode 11 Compatible

1.1.2 (2019-06-04)

Features

  • Upgrade SDWebImage 5.0.5

1.1.1 (2019-05-31)

Features

  • Upgrade SDWebImage 5.0.4

1.1.0 (2019-05-21)

Features

  • Upgrade SDWebImage 5.0.3

1.0.8 (2019-04-30)

Bug Fixes

  • Performance Improvements with React.memo.

1.0.7 (2019-04-30)

Bug Fixes

  • Fix memory leak on iOS.