registerWithGoogle

abstract suspend fun registerWithGoogle(activity: Activity): Result<Unit>

Register a new user with Google.

Return

A Result representing the registration operation result. It contains Unit if the registration was successful, or an error if there was a problem.

Parameters

activity

The activity used to launch the Google sign-in intent.