react-native-image-resizer/example
Florian Rival 15ea06d765 Update example according to latest changes in createResizedImage interface 2017-08-17 21:42:32 +02:00
..
android Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
ios Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
.babelrc Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
.buckconfig Add example app 2016-05-16 13:06:14 +02:00
.flowconfig Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
.gitattributes Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
.gitignore Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
.watchmanconfig Add example app 2016-05-16 13:06:14 +02:00
README.md Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
app.js Update example according to latest changes in createResizedImage interface 2017-08-17 21:42:32 +02:00
app.json Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
index.android.js Add example app 2016-05-16 13:06:14 +02:00
index.ios.js Add example app 2016-05-16 13:06:14 +02:00
package.json Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00
yarn.lock Fix example to work with the specified React Native version (#79) 2017-05-09 00:02:58 +02:00

README.md

react-native-image-resizer example

This is a very simple example app, loading the first photo from the device camera roll and allowing to resize it.

Installation

Be sure to have React Native installed.

cd example
yarn #or npm install

iOS

react-native run-ios

Android

react-native run-android

Development

If you want to use this sample app to develop react-native-image-resizer, erase the node_modules/react-native-image-resizer folder and replace it by the git repository:

rm -rf node_modules/react-native-image-resizer
cd node_modules && git clone git@github.com:bamlab/react-native-image-resizer.git

Recompile and relaunch iOS/Android apps.