Vinay N
Vinay N

Reputation: 269

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.

Upvotes: 1

Views: 1721

Answers (1)

Vignesh V Pai
Vignesh V Pai

Reputation: 819

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

Upvotes: 1

Related Questions