ios_app_group 1.0.2
ios_app_group: ^1.0.2 copied to clipboard
A Flutter plugin to access shared application group container on iOS.
Flutter ios_app_group plugin #
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.
Install #
Add this to your package's pubspec.yaml
file:
dependencies:
ios_app_group: ^1.0.0
copied to clipboard
Usage #
import 'dart:io';
import 'package:ios_app_group/ios_app_group.dart';
// Return null if shared app group is not exist or not accessible.
Directory sharedDirectory = await IosAppGroup.getAppGroupDirectory('com.example.app1');
copied to clipboard
License #
BSD. see LICENSE.