flutter_app_group_directory
2.0.0, released 4 weeks ago by dimitridessus.fr
Access shared app group container on iOS & macOS
$ flutter pub add flutter_app_group_directoryWhat it does
Provides a simple API to retrieve the path of a shared application group directory. It works on iOS and macOS, enabling data sharing between an app and its extensions.
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 files or data between an app and its extensions on iOS or macOS
- You require a single, platform‑specific directory for group storage
Skip it when
- You are targeting Android, Linux, Windows, or web
- You need cross‑platform shared storage
Strengths
- Simple, single‑method API
- Supports both iOS and macOS
- No extra build_runner or code generation
Weaknesses
- Only works on iOS and macOS
- Requires Flutter 3.44.0+
- No support for Android or other platforms
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Import the package and call `FlutterAppGroupDirectory.getAppGroupDirectory('group.identifier')`
import 'package:flutter_app_group_directory/flutter_app_group_directory.dart';
final path = await FlutterAppGroupDirectory.getAppGroupDirectory('group.enter.yours');Alternatives
Packages that do the same job and could replace flutter_app_group_directory.
- flutter_keychain
Secure storage of strings via iOS Keychain and Android Keystore.
65Compare - shared_preference_app_group
Shared preferences for iOS and macOS App Groups using NSUserDefaults.
64Compare
Works with
Packages commonly used together with flutter_app_group_directory: ones it builds on, ones built on it, and its own family.