You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the task queue implementation across all supporting generators to use one task queue for an entire host API, rather than one per method, so that multiple methods using task queues will have ordering guarantees amongst them. Also changes the Obj-C implementation to no-op on macOS instead of failing to compile, so that shared iOS/macOS code can use task queues on iOS without breaking macOS. (We could deliberately add a compile error with a clear error message in a macOS ifdef if we get reports of user confusion in the future, but my expectation is that no-op is the best option for most people.)
Related changes:
- Adds integration testing that task queues work, instead of just that the generator step succeeds.
- For platforms that don't support task queues, they are still included in the integration test to ensure that
- I removed the now-vestigial background_platform_channels.dart.
- Adds Swift support, since it was easier to add than to skip it in the tests.
Fixesflutter/flutter#162624Fixesflutter/flutter#111512
0 commit comments