- menual configuation for camera
- android/app/src/main/AndroidManifest.xml
- android/app/build.gradle
- defaultConfig { ... missingDimensionStrategy 'react-native-camera', 'general' }
- for drawer
-
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-
import com.facebook.react.ReactActivityDelegate;
-
import com.facebook.react.ReactRootView;
@Override protected ReactActivityDelegate createReactActivityDelegate() { return new ReactActivityDelegate(this, getMainComponentName()) { @Override protected ReactRootView createRootView() { return new RNGestureHandlerEnabledRootView(MainActivity.this); } }; }
-
-
/android/app/src/main/java/com/{your_project}/MainApplication.java
- initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); <-- coment this line-->
https://stackoverflow.com/questions/49361166/handle-multiselect-in-a-gridview
download image from rn fetch
upload from rn fetch