Updates tearDown() call order on Android's implementation

This commit is contained in:
Miguel Ruivo 2020-06-14 11:18:35 +01:00
parent b9044c30a6
commit 7598d4608f
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 1.11.0+3
Updates tearDown() call order on Android's implementation.
## 1.11.0+2
Updates README file (iOS preview).

View File

@ -283,10 +283,10 @@ public class FilePickerPlugin implements MethodChannel.MethodCallHandler, Flutte
this.activityBinding = null;
this.lifecycle.removeObserver(this.observer);
this.lifecycle = null;
this.delegate.setEventHandler(null);
this.delegate = null;
this.channel.setMethodCallHandler(null);
this.channel = null;
this.delegate.setEventHandler(null);
this.application.unregisterActivityLifecycleCallbacks(this.observer);
this.application = null;
}

View File

@ -1,7 +1,7 @@
name: file_picker
description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
version: 1.11.0+2
version: 1.11.0+3
dependencies:
flutter: