NativeScript / NativeScript/plugins
[@nativescript/imagepicker] java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFFF
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
Hi! I try to get video from a gallery on Android, but getting an error: java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFFF
- Android 11
- target SDK 33
- @nativescript/core@8.5.3
- @nativescript/android@8.5.0
Contributor guide
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
Start at packages/imagepicker/index.android.ts around line 259 and reproduce selecting a video from the Android gallery with the reported Android 11 and target SDK 33 setup. Investigate the setDataSource failure and verify that video selection no longer raises the reported RuntimeException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100