Skip to content

bkotos/react-native-get-gallery-image

 
 

Repository files navigation

react-native-get-gallery-image

Get an image and move it to a given directory. Useful for iOS and Android where the urls from the gallery are not file paths (asset-library:// and content://)

Installation

npm i react-native-get-gallery-image -- save

or

yarn add react-native-get-gallery-image

then run

react-native link

Example usage

import RNGGI from 'react-native-get-gallery-image'

const path = `some-url-from-the-gallery-or-camera-roll`

const movedImagePath = await RNGGI.moveFile(path, 'some-new-name', 'aDirectory')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 43.2%
  • Java 33.6%
  • JavaScript 23.2%