Skip to content

Consider rewriting a macOS/iOS plugin using ObjC interop #111033

@stuartmorgan-g

Description

@stuartmorgan-g

It would be potentially useful to rewrite one of our small, non-UI-based plugin for iOS and/or macOS using Objective-C FFI. This would ensure that we are eating our own dogfood for this version of FFI (just as we do for Windows and Linux currently), testing regularly in CI, etc.

The primary candidates I can see here are shared_preferences and path_provider; both use APIs that shouldn't have threading issue, and they are very simple plugins so rewriting one of them should be a quick project. It would also be a good opportunity to unify the iOS and macOS implementations without any additional work (something we were already planning on doing now that we're moving to allowing Swift for 1P iOS plugins, which is the only reason the macOS versions were separate).

/cc @jmagman capturing from discussion.

Metadata

Metadata

Labels

P2Important issues not at the top of the work listpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions