Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch package:objective_c from a flutter plugin to using native assets #1068

Open
5 tasks
liamappelbe opened this issue Apr 2, 2024 · 0 comments
Open
5 tasks

Comments

@liamappelbe
Copy link
Contributor

liamappelbe commented Apr 2, 2024

This will be possible once native assets doesn't require an experimental flag.

  • Remove all the flutter infra and deps from package:objective_c
  • Add build.dart infra instead
  • package:ffigen's objc examples were excluded from bot analysis. Include them again, and update them to remove calls to package:objective_c's setup script.
  • Throughout package:ffigen and package:objective_c's ObjC tests, we're loading symbols by doing DynamicLibrary.open(...) to load the symbols into the process, then relying on @Native's process loading fallback to find the symbol. Remove this.
  • Define a fallback case for the release dispatcher, when running on the standalone embedder. GC tests should pass in both flutter test and dart test. See [ffigen] Some objects must be destroyed on the platform thread #1470
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant