{"id":13676852,"url":"https://github.com/flyerhq/react-native-android-uri-path","last_synced_at":"2025-04-29T07:33:40.544Z","repository":{"id":40454477,"uuid":"296163851","full_name":"flyerhq/react-native-android-uri-path","owner":"flyerhq","description":"Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT that returns a content URI.","archived":true,"fork":false,"pushed_at":"2022-05-07T12:15:09.000Z","size":641,"stargazers_count":31,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-30T13:38:10.627Z","etag":null,"topics":["absolute-path","android","intent","kotlin","react-native","resolver"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flyerhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-16T22:48:23.000Z","updated_at":"2024-10-04T15:47:16.000Z","dependencies_parsed_at":"2022-08-09T21:00:43.928Z","dependency_job_id":null,"html_url":"https://github.com/flyerhq/react-native-android-uri-path","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":"demchenkoalex/react-native-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyerhq%2Freact-native-android-uri-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyerhq%2Freact-native-android-uri-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyerhq%2Freact-native-android-uri-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyerhq%2Freact-native-android-uri-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyerhq","download_url":"https://codeload.github.com/flyerhq/react-native-android-uri-path/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251456066,"owners_count":21592287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["absolute-path","android","intent","kotlin","react-native","resolver"],"created_at":"2024-08-02T13:00:33.850Z","updated_at":"2025-04-29T07:33:35.536Z","avatar_url":"https://github.com/flyerhq.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# React Native Android URI Path\n\n⚠️⚠️⚠️ 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. ⚠️⚠️⚠️\n\n\u003cbr /\u003e\n\n[![npm](https://img.shields.io/npm/v/@flyerhq/react-native-android-uri-path)](https://www.npmjs.com/package/@flyerhq/react-native-android-uri-path)\n[![build](https://github.com/flyerhq/react-native-android-uri-path/workflows/build/badge.svg)](https://github.com/flyerhq/react-native-android-uri-path/actions?query=workflow%3Abuild)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b439310da19b3d6b3917/maintainability)](https://codeclimate.com/github/flyerhq/react-native-android-uri-path/maintainability)\n\nGet an absolute path to a file retrieved by Android's `Intent.ACTION_GET_CONTENT` that returns a `content://` URI.\n\n## Getting Started\n\n```bash\nyarn add @flyerhq/react-native-android-uri-path\n```\n\n⚠️ Use version `2.1.3` for React Native below `0.65.0` and latest for `0.65.0` and above\n\n## Usage\n\n```ts\nimport getPath from '@flyerhq/react-native-android-uri-path'\n\nconst path = getPath(uriString)\n```\n\nOther platforms will return `uriString`, so no need to use `Platform`.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyerhq%2Freact-native-android-uri-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyerhq%2Freact-native-android-uri-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyerhq%2Freact-native-android-uri-path/lists"}