Skip to content

Latest commit

 

History

History
189 lines (108 loc) · 5.87 KB

CHANGELOG.md

File metadata and controls

189 lines (108 loc) · 5.87 KB

1.4.4 - 18.04.2020

  • add debug (optional) parameter in initialize() method that supports disable logging to console

1.4.3 - 09.04.2020

  • iOS: fix bug on remove method

1.4.2 - 02.04.2020

  • add timeCreated in DownloadTask model
  • iOS: fix bug MissingPluginException

1.4.1 - 30.01.2020

  • Android: fix bug ensureInitializationComplete must be called after startInitialization
  • clarify integration documents

1.4.0 - 12.01.2020

  • migrate to Android v2 embedding.

1.3.4 - 21.12.2019

  • fix bug stuck in Flutter v12.13
  • fix bug on casting int to long value

1.3.3 - 03.11.2019

  • update document
  • assert and make sure FlutterDownloader initialized one time.

1.3.2 - 24.10.2019

  • correct document and example codes about communication with background isolate

1.3.1 - 18.09.2019

  • assert the initialization of FlutterDownloader

1.3.0 - 16.09.2019

  • BREAKING CHANGES: the plugin has been refactored to support update download events with background isolate. In order to support background execution in Dart, the callback, that receives events from platform codes, now must be a static or top-level function. There's also an additional native configuration required on both of iOS and Android. See README for detail.
  • Android: upgrade WorkManager to v2.2.0.
  • Fix bug SecurityException when saving image/videos to internal storage in Android
  • Fix bug cannot save videos in Android.

1.2.2 - 19.09.2019

  • Android: fix bugs

1.2.1 - 27.08.2019

  • Android: hot-fix unregister BroadcastReceiver in case using FlutterFragmentActivity

1.2.0 - 27.08.2019

  • Android: support FlutterFragmentActivity, fix bug downloaded image/video files not shown in Gallery application, improved HTTP redirection implementation, fix bug cannot open apk file in some cases

1.1.9 - 18.07.2019

  • Android: support HTTP redirection
  • iOS: correct getting file name from HTTP response

1.1.8 - 16.07.2019

  • Fix bug in iOS: from iOS 8, absolute path to app's sandbox changes every time you relaunch the app, hence savedDir path is needed to truncate the changing part before saving it to DB and recreate the absolute path every time it loaded from DB. Currently, the plugin only supports save files in NSDocumentDirectory.
  • Fix bug is iOS: setting wrong status of task in case that the application is terminated
  • Android: upgrade dependencies

1.1.7 - 24.03.2019

  • Android: upgrade WorkManager to version 2.0.0 (AndroidX)

1.1.6 - 09.02.2019

  • Android: upgrade WorkManager to version 1.0.0-beta05
  • Android: migrate to AndroidX

1.1.5 - 27.01.2019

  • Android: upgrade WorkManager to version 1.0.0-beta03
  • fix bugs

1.1.4 - 06.01.2019

  • add remove() feature to delete task (in DB) and downloaded file as well (optional).
  • support clean up callback by setting callback as null in registerCallback()
  • Android: upgrade WorkManager to version 1.0.0-beta01

1.1.3 - 18.11.2018

  • Android: fix bug NullPointerException of saveFilePath

1.1.2 - 14.11.2018

  • Android: fix typo error
  • iOS: catch HTTP status code in case of error

1.1.1 - 12.11.2018

  • correct README instruction

1.1.0 - 12.11.2018

  • Android: upgrade WorkManager library to version v1.0.0-alpha11
  • BREAKING CHANGE: initialize() is removed (to deal with the change of the initialization of WorkManager in v1.0.0-alpha11). The plugin initializes itself with default configurations. If you would like to change the default configuration, you can follows the instruction in README.md

1.0.6 - 28.10.2018

  • fix bug related to filename

1.0.5 - 22.10.2018

  • Android: re-config dependencies

1.0.4 - 20.10.2018

  • Android: upgrade WorkManager to v1.0.0-alpha10

1.0.3 - 29.09.2018

  • Android: upgrade compile sdk version to 28

1.0.2 - 20.09.2018

  • Fixed Flutter Community badge.

1.0.1 - 20.09.2018

1.0.0 - 09.09.2018

  • NEW features: initialize, loadTasksWithRawQuery, pause, resume, retry, open
  • IMPORTANT: the plugin must be initialized by initialize() at first
  • BREAKING CHANGE: clickToOpenDownloadedFile now renames to openFileFromNotification (to prevent confusing from open feature). Static property maximumConcurrentTask has been removed, this configuration now moves into initialize() method.
  • full support SQLite on both Android and iOS side, the plugin now itself manages its states persistently and exposes loadTasksWithRawQuery api that helps developers to load tasks from SQLite database with customized conditions
  • support localizing Android notification messages with messages parameter of initialize() method
  • full support opening and previewing downloaded file with open() method
  • (iOS integration) no need to override application:handleEventsForBackgroundURLSession:completionHandler: manually anymore, the plugin now itself takes responsibility for handling it

0.1.1 - 29.08.2018

  • fix bugs: SQLite leak
  • new feature: support configuration of the maximum of concurrent download tasks
  • upgrade WorkManager to v1.0.0-alpha08

0.1.0 - 12.08.2018

  • add: handle click on notification to open downloaded file (for Android)

0.0.9 - 10.08.2018

  • re-config to support Dart2

0.0.8 - 10.08.2018

  • upgrade WorkManager to v1.0.0-alpha06
  • fix bug: disable sound on notifications

0.0.7 - 28.06.2018

  • upgrade WorkManager to v1.0.0-alpha04

0.0.6 - 28.06.2018

  • upgrade WorkManager to v1.0.0-alpha03
  • change default value of showNotification to true (it makes sense on Android 8.0 and above, it helps our tasks not to be killed by system when the app goes to background)

0.0.5 - 22.06.2018

  • update metadata

0.0.4 - 15.06.2018

  • fix bug: Worker finished with FAILURE on Android API 26 and above

0.0.3 - 11.06.2018

  • support HTTP headers

0.0.2 - 08.06.2018

  • correct README document

0.0.1 - 07.06.2018

  • initial release.