Why there's no File Picker for NativeScript?


#1

I just started with NativeScript JS. Nativescript has a plugin for everything, even an image filter (:grinning:), but no plugin for file-picker(not image picker) which works.

What, you guys don’t ever need a file picker?


#2

Yes, unfortunately there is no plugin at the moment. But you can simply use an Intent in Android and UIDocumentPickerViewController in iOS.

A similar implementation of iOS can be found here.


#3

Sir, can you please give me an example for Android on how to use this intent? I’m using vanilla js.

Thanks