I want a profile picture uploading with the options: get image from camera (call getMediaFromCamera) on press or get image from gallery (getMediaFromImageLibrary)I have a TouchableOpacity but I want to create a menu when clicking so that the user can select the method. Do I need a menu or can this be done inside touchableopacity
<View style={imageUploaderStyles.uploadBtnContainer}><TouchableOpacity onPress={getMediaFromCamera} style={imageUploaderStyles.uploadBtn}><Text> {props.profile_photo ? Language.PersonalInformation.change_photo : Language.PersonalInformation.add_photo}{''}</Text></TouchableOpacity></View>
I want something like below to popup when the user presses.