react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Image disappears after restarting the app

Open elmcapp opened this issue 3 years ago • 2 comments

I have the latest version of the library. The problem that when I select a image from my gallery I can use path or source file to show the image using the Image component. When My app restarts the image is no longer in the path and the source file path is no longer valid. Is there a place where the image will stay or do I have to programable save the image to another location

elmcapp avatar Feb 08 '22 22:02 elmcapp

I'm having the same issue @elmcapp. Did you ever solve this problem. Specifically on IOS. I can't find anything anywhere of how to get the real full file path on IOS.

NicholasDwyer avatar Sep 18 '22 15:09 NicholasDwyer

I convert image to base64 then stored the base64 string to react native AsyncStorage. Then when the app loads instead of loading it from the image path I load it from AsyncStorage

elmcapp avatar Sep 19 '22 00:09 elmcapp