Fix bug when adding multiple photos. Added RN image resizer
This commit is contained in:
1 parent
eda43b0869
commit
fdd5f67d90
12 files changed
+30
-14
No files matched your search
@@ -167,6 +167,7 @@ dependencies {
|
||||
compile project(':react-native-maps')
|
||||
compile project(':react-native-image-picker')
|
||||
compile project(':react-native-fs')
|
||||
compile project(':react-native-image-resizer')
|
||||
}
|
||||
|
||||
// Run this once to be able to run the application with BUCK
|
||||
|
||||
@@ -19,6 +19,8 @@ import com.imagepicker.ImagePickerPackage;
|
||||
|
||||
import com.rnfs.RNFSPackage;
|
||||
|
||||
import fr.bamlab.rnimageresizer.ImageResizerPackage;
|
||||
|
||||
public class MainApplication extends Application implements ReactApplication {
|
||||
|
||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
||||
@@ -34,7 +36,8 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
new ReactViroPackage(ReactViroPackage.ViroPlatform.GVR),
|
||||
new MapsPackage(),
|
||||
new ImagePickerPackage(),
|
||||
new RNFSPackage()
|
||||
new RNFSPackage(),
|
||||
new ImageResizerPackage()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user