rmawatson / flutter_isolate

Launch an isolate that can use flutter plugins.
MIT License
262 stars 80 forks source link

[Feature] macOS support #153

Open chipweinberger opened 7 months ago

chipweinberger commented 7 months ago

Add macOS support.

Related Issue: https://github.com/rmawatson/flutter_isolate/issues/56

Note: this PR was built off my other PRs, so it has 9 commits in it.

The important commit is this one

For the most part, things "just work" but there are a few limitations:

  1. the user must put entry point code in their lib/main.dart file
  2. the user must copy GeneratedPluginRegistrant.m into their macos folder
  3. FlutterEngineGroup is not supported