app_group_directory
2.0.0, released 6 years ago by wolszon.me
Retrieve App Group directory on iOS.
What it does
A Flutter plugin to access shared application group container on iOS. It acts as a port of FileManager.containerURL to Flutter.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to share data between your main iOS app and an iOS extension using App Groups.
- You need to retrieve the shared app group container directory URL.
Skip it when
- You are developing strictly for Android without iOS support.
- You do not use App Groups on iOS.
Strengths
- Simple API to access shared app group containers on iOS.
- Null-safe implementation.
Weaknesses
- Limited to iOS platform app group directories based on the documentation.
- Not documented for other platforms.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires setting up App Groups in Xcode for iOS.
import 'dart:io';
import 'package:app_group_directory/app_group_directory.dart';
Directory? sharedDirectory = await AppGroupDirectory.getAppGroupDirectory('com.example.app');