- Fix #34.
- Fix #25.
- Null safety
- Bringing back Context.
-
New package maintainer.
-
Breaking changes! Due to a change in the Flutter framework, the previously used method to set up an extra communication channel cannot be used any more. From now on, this package depends on https://pub.dev/packages/flutter_isolate that uses an alternative method to establish the platform channel so that the isolates can call platform plugins. See README.
- Changelog fix.
- Pubspec and format fix.
- Out of alpha.
- Pubspec and format fix.
- BREAKING CHANGE: Removed support for calls to native code through
MethodChannel
.
- Added
ServicesBinding
mixin dependencySchedulerBinding
. This is required since Flutter #54286.
- Added a null-check for name in
IsolateHandler.kill
's dispose call. Thanks to @deakjahn for the suggestion.
-
Fixed wrong date in changelog.
-
Fixed formatting using
flutter format
to better follow Flutter guidelines.
-
Fixed error introduced with Flutter version 1.12.13+hotfix.5 where the ServicesBinding instance would not be initialized by the time isolate handler requested use of its
defaultBinaryMessenger
. Thanks to @deakjahn for reporting the bug. -
Changed
defaultBinaryMessenger
toServicesBinding.instance.defaultBinaryMessenger
as it is now the recommended way of accessing the default binary messenger.
- Added warning about platform thread potentially locking up UI.
- Changed from
MethodChannel
toString
for channel names to future proof in the unlikely event support forEventChannel
s can one day be added.
- Moved
example
folder
- Fixed formatting using
flutter format
to better follow Flutter guidelines.
- Initial release, major feature is support for
MethodChannel
calls in isolates.