Search code examples
androidiosreact-nativereact-native-image-pickerrn-fetch-blob

How to copy images from gallery to app’s installation directory in React-native


I want to pick an image from gallery and copy that image to the currently running app’s installation directory using react-native.


Solution

  • You can use React Native Image Picker to pick an image from Camera Roll or Gallery.

    See it's usage code here

    To write any file into native file storage, you can use RNFS

    See a basic example here