Skip to content

Get AppGroup container path from path_provider #117685

@leighajarett

Description

@leighajarett

Use case

When you use an app extension with Flutter iOS apps, you'll likely want to pass information through an AppGroup. When using an AppGroup, files can be saved to a shared container between the extension and the app itself. However, you currently need to use a method channel to get the path to the container (with this API call).

Proposal

It would be great to add this to the path_provider plugin. So you can do something like the following:

Directory myFilePath = await getContainerPath("my_app_group");

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectp: path_providerPlugin that provides resolved paths to some platform directoriespackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions