Google Sign-In Integration for Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Google Sign-In Integration for Mobile App
Simple
~1 business day
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Developing Google Sign-In Authentication

Google Sign-In is the most common OAuth provider for mobile apps. On Android it works especially smoothly via Credential Manager API (current approach with Android 14+), on iOS requires separate SDK and URL Scheme setup. Complexity — 1 out of 5, but several typical gotchas when first integrating.

Current SDK State

On Android, legacy GoogleSignIn SDK (com.google.android.gms:play-services-auth) replaced by Credential Manager with GetGoogleIdOption. Old API still works but Google recommends migration. New API shows Bottom Sheet with device's Google accounts — native UI without browser switch.

On iOS — GoogleSignIn-iOS SDK (pod GoogleSignIn, SPM google-signin-ios). Requires adding GIDClientID to Info.plist and URL Scheme setup for redirect after authorization.

Most common iOS integration mistake: forgot to add URL Scheme com.googleusercontent.apps.CLIENT_ID to Info.plist. Authorization opens browser but redirect back to app doesn't work.

Android Implementation

// Credential Manager (Android 14+ / Credential Manager API)
val googleIdOption = GetGoogleIdOption.Builder()
    .setFilterByAuthorizedAccounts(false)
    .setServerClientId(WEB_CLIENT_ID)  // Not Android client ID, Web client ID
    .build()

val request = GetCredentialRequest.Builder()
    .addCredentialOption(googleIdOption)
    .build()

val result = credentialManager.getCredential(context, request)
val credential = result.credential as? CustomCredential
// Handle GoogleIdTokenCredential

WEB_CLIENT_ID is client ID for web app in Google Cloud Console, not Android. This confusion is source of DEVELOPER_ERROR on first run.

ID Token Verification on Server

Client passes idToken to backend. Backend verifies via Google tokeninfo endpoint or locally via google-auth-library. ID Token contains sub (stable Google user ID), email, name, picture. sub is primary key for user identification, email can change.

Timeline: 4-7 working days. Includes Android Credential Manager + iOS GoogleSignIn SDK, server ID Token verification, handling case when Google Play Services unavailable (tablets without GMS).