nativescript-community / nativescript-community/ui-document-picker
Android picker returns null if a file is selected from Recent section
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description

If I select the XML file from the Recent section then I get back null,
JS: {
JS: "files": [
JS: null
JS: ],
JS: "android": {}
JS: }
However, if I open the menu and go into the internal storage, downloads and then select the file, I get the correct path
JS: {
JS: "files": [
JS: "/storage/emulated/0/Download/NectronGoldenAle.xml"
JS: ],
JS: "android": {}
JS: }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by selecting the XML file from Android's Recent section, then compare the result with selecting it through internal storage and Downloads. Trace how the picker result is converted into the returned file path; done means Recent selections return the file path instead of null.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100