Skip to main content

Pick files from Storage

Pick files from Storage

Use this component to pick files from the filesystem.

To get started using it, you must use KmpFilePicker. All functions are thread safe and main thread safe.

Below are the functions available:


_7
KmpFilePicker.getFileFromPicker{
_7
val pickedFile = it // returns the file path of the selected file
_7
}
_7
_7
KmpFilePicker.getMultipleFilesFromPicker{
_7
val listOfFilesSelected = it // returns the list of Files (Multi Select) from the FileSystem
_7
}

Android Setup

On android please add the following into your manifest file


_1
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />