app_group_directory

pub package build status

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 to package:app_group_directory/app_group_directory.dart.
  • Change ios_app_group: pubspec.yaml dependency to app_group_directory: ^2.0.0.
  • Change IosAppGroup class references to AppGroupDirectory.

Usage

import 'dart:io';

import 'package:app_group_directory/app_group_directory.dart';

Directory? sharedDirectory = await AppGroupDirectory.getAppGroupDirectory('com.example.app');

Libraries

app_group_directory