document-picker icon indicating copy to clipboard operation
document-picker copied to clipboard

Getting only uri when file is picked from File Manager option on xiaomi redmi note 3.

Open VinitBhavsar opened this issue 6 years ago • 4 comments

When I choose a file from File Manager Option and picking any file getting res like { type: null, uri: 'filepath' } Device : Xiaomi Redmi Note 3, Android Version: 6.0.1 MIUI Version: 10.2.1.0

But when I tested this in other Xiaomi Device, I got complete response ( type, uri, size and name ) Device: Xiaomi Redmi Note 6 Pro, Android Version: 9, MIUI Version: 11.0.6

VinitBhavsar avatar Apr 08 '20 15:04 VinitBhavsar

Hello, colleagues. I have the same issue on Xiaomi Redmi 3S, Android 6.0.1 Picked file result is completely the same: { type: null, uri: 'path to file' }

MikhailVolkov350504 avatar Jun 04 '20 13:06 MikhailVolkov350504

I also had a chance to test on Samsung Galaxy J2, Android 6.0.1 and Xiaomi Redmi Note 4, Android 7.0 But on this devices everything works as expected

MikhailVolkov350504 avatar Jun 05 '20 14:06 MikhailVolkov350504

I had a same problem on Samsung Galaxy9, Android 8.0.0. How can we get the full return callbacks (name, type, size)? It is important for our project and let me know soon if you fixed it.

Please help me anyone!!!

deletedcu avatar Jul 06 '20 18:07 deletedcu

I had a same problem on Samsung Galaxy9, Android 8.0.0. How can we get the full return callbacks (name, type, size)? It is important for our project and let me know soon if you fixed it.

Please help me anyone!!!

I guess that issue from device file manager or from android version / kernel version not from library, because in most of device it returns all data , if you're trying to get image, video only then pick it up from gallery direct instead of opening File Manager use ImagePicker

VinitBhavsar avatar Jul 13 '20 13:07 VinitBhavsar