Trigger the native Android / iOS Google OAuth account picker modal.
Invoke native Google Sign-In popups to bypass 403 disallowed_useragent errors that occur when using Google OAuth inside WebViews. This uses the native Google Sign-In SDK for a seamless authentication experience.
import nativine from 'nativine';
const user = await nativine.auth.googleSignIn();
// user -> { email, displayName, idToken, photoUrl }
import nativine from 'nativine';
await nativine.auth.googleSignOut();
email — User's Google email address.displayName — User's full display name.idToken — JWT ID token for backend verification.photoUrl — URL to user's Google profile photo.