Skip to main content

Changelog

All notable changes to nitro-google-signin are documented here. The format follows Keep a Changelog, and versions follow Semantic Versioning. Until 1.0, minor versions may contain breaking changes.

Unreleased​

0.1.0 - 2026-12-03​

First release. Depends on nitro-core 1.0.0-alpha.nightly.138.g43e09c161101; apps whose NitroUI release pins another nightly must override nitro-core and nitrogen.

Added​

  • GoogleSignIn Nitro module for NitroUI apps, with Swift and Kotlin implementations.
  • Android sign-in through Credential Manager, with scopes and server auth codes from AuthorizationClient.
  • iOS sign-in through the Google Sign-In SDK 10.1.
  • configure, signIn, createAccount, presentExplicitSignIn, requestScopes, getCurrentUser, getTokens, clearCachedAccessToken, signOut, revokeAccess and checkPlayServices.
  • Optional configure options and client IDs. Left out, they come from the native config: GIDClientID and GIDServerClientID in the iOS Info.plist (CLIENT_ID in GoogleService-Info.plist as a fallback for the iOS client), and the Android default_web_client_id string resource. An empty client ID throws NOT_CONFIGURED.
  • SignInResult that resolves success, cancelled or noSavedCredential, and the isSignInSuccess type guard.
  • [CODE]-tagged errors with getGoogleSignInErrorCode and the googleSignInErrorCodes list.
  • IN_PROGRESS rejection when a sign-in, requestScopes call or Android ID token refresh starts while another is running.
  • signInWithGoogle(): one-call sign-in that restores a returning user and falls back to the explicit flow.
  • getIdToken(): the signed-in user's ID token, or undefined when signed out.
  • Sessions that survive a relaunch: getCurrentUser returns the signed-in user right after launch, from Keystore-encrypted storage on Android and the Keychain on iOS. On iOS, getTokens, requestScopes and revokeAccess restore the SDK's session first.
  • getTokens on Android replaces an ID token that expires within five minutes through Credential Manager's auto sign-in, so it never returns an expired token.
  • Consumer ProGuard rules for minified Android release builds.
  • Missing iOS URL scheme reported as DEVELOPER_ERROR instead of an Objective-C exception.