fetch image.uri throws a network error -the image

i am building a react native app that uses tensorflow and molienet model to classify images,
and i am using expo-image-picker to pick an image from the gallery,

let source= await ImagePicker.launchImageLibraryAsync({
        mediaTypes: ImagePicker.MediaTypeOptions.All,
        allowsEditing: true,
        aspect: [4, 3],

       const response = await fetch( source.uri, {}, { isBinary: true });
the last line throws a network error, knowing that source.uri is 


does anyone have a solution?

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