Added RNFS and refactor image upload to use it
This commit is contained in:
@@ -17,6 +17,8 @@ import com.airbnb.android.react.maps.MapsPackage;
|
||||
|
||||
import com.imagepicker.ImagePickerPackage;
|
||||
|
||||
import com.rnfs.RNFSPackage;
|
||||
|
||||
public class MainApplication extends Application implements ReactApplication {
|
||||
|
||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
||||
@@ -31,7 +33,8 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
new MainReactPackage(),
|
||||
new ReactViroPackage(ReactViroPackage.ViroPlatform.GVR),
|
||||
new MapsPackage(),
|
||||
new ImagePickerPackage()
|
||||
new ImagePickerPackage(),
|
||||
new RNFSPackage()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user