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
GoogleSignInNitro 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,revokeAccessandcheckPlayServices.- Optional
configureoptions and client IDs. Left out, they come from the native config:GIDClientIDandGIDServerClientIDin the iOSInfo.plist(CLIENT_IDinGoogleService-Info.plistas a fallback for the iOS client), and the Androiddefault_web_client_idstring resource. An empty client ID throwsNOT_CONFIGURED. SignInResultthat resolvessuccess,cancelledornoSavedCredential, and theisSignInSuccesstype guard.[CODE]-tagged errors withgetGoogleSignInErrorCodeand thegoogleSignInErrorCodeslist.IN_PROGRESSrejection when a sign-in,requestScopescall 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, orundefinedwhen signed out.- Sessions that survive a relaunch:
getCurrentUserreturns the signed-in user right after launch, from Keystore-encrypted storage on Android and the Keychain on iOS. On iOS,getTokens,requestScopesandrevokeAccessrestore the SDK's session first. getTokenson 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_ERRORinstead of an Objective-C exception.