I'm using this (amazing library, btw) to prompt "Add Photo from Camera / Image Library" inside a bottom drawer.
when the user chooses "Library", I close the drawer and open expo's image picker, with ImagePicker.launchImageLibraryAsync.
However, it turns out calling bottomDrawerRef.close() also immediately closes expo's image picker modal :(
Below are the relevant parts from my code.
import * as ImagePicker from "expo-image-picker";
import BottomDrawer from "react-native-animated-bottom-drawer";
I'm using this (amazing library, btw) to prompt "Add Photo from Camera / Image Library" inside a bottom drawer. when the user chooses "Library", I close the drawer and open expo's image picker, with ImagePicker.launchImageLibraryAsync.
However, it turns out calling bottomDrawerRef.close() also immediately closes expo's image picker modal :(
Below are the relevant parts from my code.