Document picker return type is different on web and on android

Please provide the following:

  1. SDK Version: 48
  2. Platforms(Android/iOS/web/all): Android, web
  3. expo-document-picker

I am using expo-document-picker v11.5.4.

When I call getDocumentAsync on web I get DocumentPickerResult type with array of DocumentPickerAsset inside.

But when I use test my app in Android simulator I get back something like this

name: filename.pdf, 

Does anyone have the idea what am I doing wrong?

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