React Native Android Uri Path Save Abandoned

Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT that returns a content URI.

Project README

React Native Android URI Path

⚠️⚠️⚠️ https://github.com/rnmods/react-native-document-picker/issues/70#issuecomment-846883668 also mentioned in the README of the document picker repo as well, is the correct way to retrieve the path. This repo will be archived. ⚠️⚠️⚠️


npm build Maintainability

Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT that returns a content:// URI.

Getting Started

yarn add @flyerhq/react-native-android-uri-path

⚠️ Use version 2.1.3 for React Native below 0.65.0 and latest for 0.65.0 and above

Usage

import getPath from '@flyerhq/react-native-android-uri-path'

const path = getPath(uriString)

Other platforms will return uriString, so no need to use Platform.

License

MIT

Open Source Agenda is not affiliated with "React Native Android Uri Path" Project. README Source: flyerhq/react-native-android-uri-path
Stars
29
Open Issues
0
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating