DocumentPicker's getDocumentAsync crashes

Hello!

I’m using the sdk 29 with it’s requirements.

If i try to pick a non existing file from the Download section (because that is possible, and there is no difference from the existing files), with DocumentPicker.getDocumentAsync({ type: ‘/’ }), both the Expo app and the standalone app crashes.

Found this on an android v5 device.

Hey @fitsolutionskft,

Sounds like a bug to me. Any chance you could create a MVCE (How to create a Minimal, Reproducible Example - Help Center - Stack Overflow) of this? Either in a Snack or a github repo to help us remedy it?

Cheers,

Adam

Snack demo

Steps to reproduce:

  1. Open document picker
  2. From the left drawer menu, pick Download
  3. Pick one that is no longer exist on the device
  4. The app should crash
2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.