A flutter plugin to open the default file manager app.

## Support
|             | Android | iOS     |
|-------------|---------|---------|
| **Support** | SDK 20+ | iOS 12+ |

## How it works?

### Android
The `Android` app can open either `Recent` folder or `Download` folder.
The plugin will show the available file manager apps in the bottom popup and you can select one app to open.
That app will open with the given folder in selected app.

### iOS
The `iOS` app can open app's document folder and it's sub directory if provided.
Plugin will open the `Files` app in iOS. You need to add the following code snippet in `Info.plist` to view your app's document folder inside `On My iPhone`.
Also, you need to save at least one file to view your app's folder.

```xml
<key>UISupportsDocumentBrowser</key>  
<true/>
```
  
## Usage

It's a very simple to use. Just call the below method and add `config` if required.
 
 ```dart
 import 'package:open_file_manager/open_file_manager.dart'

openFileManager(
    androidConfig: AndroidConfig(
        folderType: FolderType.recent,
    ),
    iosConfig: IosConfig(
        // Path is case-sensitive here.
        subFolderPath: 'Pictures/Screenshots',
    ),
);
 ```

 - If `androidConfig` doesn't provided, Android app will open `Download` folder by default.
 - If `iosConfig` doesn't provided, iOS app will open app's document folder by default.


## Preview

<video src="Screenshots/Open-File-Manager-Android.mov"></video>

<video src="Screenshots/Open-Files-iOS.mov"></video>





