open_file_manager 0.0.4
open_file_manager: ^0.0.4 copied to clipboard
A flutter plugin to open default file manager app. on an Android, it opens Download folder on selected file manager app. on iOS, it opens app folder in default Files app.
A flutter plugin to open the default file manager app.
Support #
Android | iOS | |
---|---|---|
Support | SDK 20+ | iOS 12+ |
How it works? #
Android #
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 Download
folder which is a public folder.
iOS #
Plugin will open the Files
app in iOS. You need to add the following code snippet in Info.plist
to view your app folder inside On My iPhone
.
Also, you need to save at least one file to view your app's folder
<key>UISupportsDocumentBrowser</key>
<true/>
Usage #
It's a very simple to use. There is only one line of code!!!
import 'package:open_file_manager/open_file_manager.dart'
openFileManager();