This repository has been archived by the owner on May 7, 2022. It is now read-only.
react-native-android-uri-path 2.3.0
Install from the command line:
Learn more about npm packages
$ npm install @flyerhq/react-native-android-uri-path@2.3.0
Install via package.json:
"@flyerhq/react-native-android-uri-path": "2.3.0"
About this version
Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT
that returns a content://
URI.
yarn add @flyerhq/react-native-android-uri-path
2.1.3
for React Native below 0.65.0
and latest for 0.65.0
and above
import getPath from '@flyerhq/react-native-android-uri-path'
const path = getPath(uriString)
Other platforms will return uriString
, so no need to use Platform
.