setAppGroupId static method

Future<void> setAppGroupId(
  1. String groupId
)

Sets the App Group ID for iOS data sharing.

Implementation

static Future<void> setAppGroupId(String groupId) async {
  // Arms the method-call handler as early as possible: apps set the group in
  // main(), which is well before anything subscribes to onDeepLink.
  _ensureInitialized();
  _appGroupId = groupId;
}