app_group_directory
A Flutter plugin to access shared application group container on iOS.
On iOS, this uses the NSFileManager
's containerURLForSecurityApplicationGroupIdentifier API to get app group container URL.
Migration from ios_app_group
package
- Change
package:ios_app_group/ios_app_group.dart
imports topackage:app_group_directory/app_group_directory.dart
. - Change
ios_app_group:
pubspec.yaml
dependency toapp_group_directory: ^2.0.0
. - Change
IosAppGroup
class references toAppGroupDirectory
.
Usage
import 'dart:io';
import 'package:app_group_directory/app_group_directory.dart';
Directory? sharedDirectory = await AppGroupDirectory.getAppGroupDirectory('com.example.app');