google_sign_in_platform_interface 3.0.0 copy "google_sign_in_platform_interface: ^3.0.0" to clipboard
google_sign_in_platform_interface: ^3.0.0 copied to clipboard

A common platform interface for the google_sign_in plugin.

3.0.0 #

  • BREAKING CHANGE: Overhauls the entire API surface to better abstract the current set of underlying platform SDKs, and to use structured errors. See API doc comments for details on the behaviors that platform implementations must implement.
  • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.

2.5.0 #

  • Adds a sign-in field to allow Android clients to explicitly specify an account name. This capability is only available within Android for the underlying libraries.
  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

2.4.5 #

  • Updates minimum required plugin_platform_interface version to 2.1.7.

2.4.4 #

  • Updates clearAuthCache override to match base class declaration.

2.4.3 #

  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
  • Drop dependency on package:quiver.

2.4.2 #

  • Adds pub topics to package metadata.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

2.4.1 #

  • Clarifies canAccessScopes method documentation.

2.4.0 #

  • Introduces: canAccessScopes method and userDataEvents stream.
    • These enable separation of Authentication and Authorization, and asynchronous sign-in operations where needed (on the web, for example!)
  • Updates minimum Flutter version to 3.3.
  • Aligns Dart and Flutter SDK constraints.

2.3.1 #

  • Updates links for the merge of flutter/plugins into flutter/packages.
  • Updates minimum Flutter version to 3.0.

2.3.0 #

  • Adopts plugin_platform_interface. As a result, isMock is deprecated in favor of the now-standard MockPlatformInterfaceMixin.

2.2.0 #

  • Adds support for the serverClientId parameter.

2.1.3 #

  • Enables mocking models by changing overridden operator == parameter type from dynamic to Object.
  • Removes unnecessary imports.
  • Adds SignInInitParameters class to hold all sign in params, including the new forceCodeForRefreshToken.

2.1.2 #

  • Internal code cleanup for stricter analysis options.

2.1.1 #

  • Removes dependency on meta.

2.1.0 #

  • Add serverAuthCode attribute to user data

2.0.1 #

  • Updates init function in MethodChannelGoogleSignIn to parametrize clientId property.

2.0.0 #

  • Migrate to null-safety.

1.1.3 #

  • Update Flutter SDK constraint.

1.1.2 #

  • Update lower bound of dart dependency to 2.1.0.

1.1.1 #

  • Add attribute serverAuthCode.

1.1.0 #

  • Add hasRequestedScope method to determine if an Oauth scope has been granted.
  • Add requestScope Method to request new Oauth scopes be granted by the user.

1.0.4 #

  • Make the pedantic dev_dependency explicit.

1.0.3 #

  • Remove the deprecated author: field from pubspec.yaml
  • Require Flutter SDK 1.10.0 or greater.

1.0.2 #

  • Add missing documentation.

1.0.1 #

  • Switch away from quiver_hashcode.

1.0.0 #

  • Initial release.