Answers for "evaluating '_reactNativeImagePicker.default.launchImageLibrary')"

1

evaluating '_reactNativeImagePicker.default.launchImageLibrary')

import * as ImagePicker from "react-native-image-picker"


                <Button onPress={() =>
                        ImagePicker.launchImageLibrary(
                          {
                            mediaType: 'photo',
                            includeBase64: false,
                            maxHeight: 200,
                            maxWidth: 200,
                          },
                          (response) => {
                            console.log(response);
                            this.setState({resourcePath: response});
                          },
                        )
                      }
                title="Select Image"/>
Posted by: Guest on April-16-2021

Code answers related to "evaluating '_reactNativeImagePicker.default.launchImageLibrary')"

Browse Popular Code Answers by Language