Closed
Description
Status
9/9/22: Work- in-progress
Description
When I try to invoke a platform channel method from a custom spawned isolate, the app crashes badly (both on iOS and Android). I'm trying to figure out whether this is expected or not.
If it's not, it's probably worth to mention that somewhere.
Anyways I think that this can potentially be a strong limitation. Is there a way to be able to call platform plugins from a secondary isolate?
PRs
- iOS Engine - Started handling messages from background isolates for iOS engine#35174
- iOS Framework - Started handling messages from background isolates. #109005
- Reland iOS Framework - Reland: Started handling messages from background isolates. #111320
- Android Engine - Started handling messages from background isolates for Android engine#35804
- Android Framework - Enable android isolate platform channels tests #111279
- Add macOS platform channel integration tests - Added platform channel integration tests for macos #110606
- Desktop Engine - Isolate platform channels for desktop engine#35893
- Desktop Framework - Isolate platform channels for macos #110882
- Add samplecode - Add sample code for isolate platform channels #112235
- Update website documentation - Updated the platform channels documentation for background isolate channels website#7592
- Make it work with plugins that require a dart plugin registrant - Plugins with dart plugin registrants don't work on background isolates #112240
Metadata
Metadata
Assignees
Labels
Issues that are less important to the Flutter projectRepeatedly frustrating issues with non-experimental functionalityStack traces logged to the consoleNothing broken; request for a new capabilityAffects or could affect many people, though not necessarily a specific customer.flutter/engine repository. See also e: labels.flutter/packages repository. See also p: labels.