open static method

Future<PlayReads> open({
  1. required String packageName,
})

Authenticates and holds the session open.

Throws StateError when no service account is configured.

Implementation

static Future<PlayReads> open({required String packageName}) async {
  final client = await clientViaServiceAccount(loadPlayServiceAccount(), [
    AndroidPublisherApi.androidpublisherScope,
  ]);
  return PlayReads._(client, AndroidPublisherApi(client), packageName);
}