-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
integral_isolates_flutterRequires a Flutter specific packageRequires a Flutter specific package
Description
Is your feature request related to a problem? Please describe.
Trying to call a plugin within a spawn isolate fails. This limits use cases for this package.
Describe the solution you'd like
Since 13937 it's possible to pass a root token and call BackgroundIsolateBinaryMessenger.ensureInitialized within the isolate. But it only works for some plugins (those that do dart -> platform messenging, but not platform -> dart messenging). Hopefully this package can do the necessary plumbing so that it works whatever the plugin.
Describe alternatives you've considered
flutter_isolate is another package trying to make isolates nicer, and it supports plugins, but it has its own issues and limitations.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integral_isolates_flutterRequires a Flutter specific packageRequires a Flutter specific package