Skip to content

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

@liamappelbe

Description

@liamappelbe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions