fl_downloader 1.1.0 copy "fl_downloader: ^1.1.0" to clipboard
fl_downloader: ^1.1.0 copied to clipboard

outdated

A plugin to download files using the native capabilities. URLSession on iOS and DownloadManager on Android

fl_downloader #

Pub Version

A plugin to download files using the native capabilities.

On Android it uses the DownloadManager system service to download files to user's Download folder and, on iOS, it uses the URLSession to download files to the App Documents folder.

iOS Configuration #

If you don`t want to show downloaded files to the user on the Files app, there is no need for special configuration.

If you want to show downloaded files to the user on the Files app, add the following lines to your info.plist file:

<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>

Android Configuration #

There is no need for special configuration on Android 10+.

If your app supports Android 9 (API 28) or bellow it is mandatory to call requestPermission() before download() and check the permission status.

NOTE: This plugins expects that compileSdkVersion is the latest Android SDK, eg.:

android {
    compileSdkVersion 33

    [...]
}
13
likes
0
points
952
downloads

Publisher

verified publisherinceptusp.dev

Weekly Downloads

A plugin to download files using the native capabilities. URLSession on iOS and DownloadManager on Android

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fl_downloader