How to use the expo-image-picker.ImagePicker.launchImageLibraryAsync function in expo-image-picker

To help you get started, we’ve selected a few expo-image-picker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Vivify-Ideas / expo-boilerplate / screens / main / profile / EditProfile.js View on Github external
const openImagePicker = async () => {
    const result = await ImagePicker.launchImageLibraryAsync({
      mediaTypes: ImagePicker.MediaTypeOptions.Images,
      allowsEditing: true,
      aspect: [4, 4]



Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.

Latest version published 14 days ago

Package Health Score

95 / 100
Full package analysis