ImagePicker returns null for bae64 on Android

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android

My Code:

let result = await ImagePicker.launchImageLibraryAsync({
                mediaTypes: ImagePicker.MediaTypeOptions.Images,
                base64: true,
                allowsEditing: true,
                // aspect: [4, 3],
                quality: 1,
          if (!result.cancelled) {


result.base64 is undefined

Hey @iroman777, I’m running your code in a new local project and I’m getting base64 values as expected. Can you let me know what environment you are testing with? Also, could you investigate and see if the issue mentioned here might be involved? ImagePicker - Expo Documentation


Hey @adamjnav ,
Nut uri works for me:


With base64: I get no alert to see.
I have on my smartphone Samsung Galaxy A6+ with Android 10 (Kernel 3.18.124-19348620)
Expo SDK Version: “”,

"expo": "~40.0.0",
    "expo-app-loading": "^1.0.1",
    "expo-asset": "~8.2.1",
    "expo-constants": "~9.3.0",
    "expo-font": "~8.4.0",
    "expo-gl": "~9.2.0",
    "expo-image-picker": "^9.2.1",
    "expo-linking": "~2.0.0",
    "expo-screen-orientation": "^2.1.0",
    "expo-splash-screen": "~0.8.0",
    "expo-status-bar": "~1.0.3",
    "expo-three": "^5.4.0",
    "expo-three-orbit-controls": "^2.0.0",
    "expo-web-browser": "~8.6.0",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "",
    "react-native-gesture-handler": "~1.8.0",
    "react-native-safe-area-context": "3.1.9",
    "react-native-screens": "~2.15.0",
    "react-native-web": "~0.13.12",

An example in snack :

with my modifications for base64 does not work either.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.