Update README about the change in library interface

This commit is contained in:
Florian Rival 2017-08-17 21:55:34 +02:00
parent fa6acf8447
commit d60dd0fe7d
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ npm install --save react-native-image-resizer
react-native link react-native-image-resizer
```
> ⚠️ **Heads up, breaking change!** If you're upgrading *react-native-image-resizer* to version 1.0.0, please note that the response of `createResizedImage` changed. You must now read the image uri from property `uri` of the returned object. [Here is an example](https://github.com/bamlab/react-native-image-resizer/commit/15ea06d7651faf316b946170427efa90ea48dc4e). Easy, huh?
## Older versions:
* 👨 React Native >= 0.29.2 and < 0.40
```
npm install --save react-native-image-resizer@0.0.12