GoogleButtonUiContainerFirebase
fun GoogleButtonUiContainerFirebase(modifier: Modifier = Modifier, linkAccount: Boolean = false, filterByAuthorizedAccounts: Boolean = false, isAutoSelectEnabled: Boolean = true, scopes: List<String> = listOf("email", "profile"), onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Deprecated
Use rememberFirebaseGoogleSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.
Replace with
import com.mmk.kmpauth.firebase.google.rememberFirebaseGoogleSignInState
Content copied to clipboard
rememberFirebaseGoogleSignInState(linkAccount, filterByAuthorizedAccounts, isAutoSelectEnabled, scopes, onResult)Content copied to clipboard
Legacy container API for Google Sign-In with Firebase. Superseded by rememberFirebaseGoogleSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.
fun GoogleButtonUiContainerFirebase(modifier: Modifier = Modifier, onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Deprecated
Use rememberFirebaseGoogleSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.
Replace with
import com.mmk.kmpauth.firebase.google.rememberFirebaseGoogleSignInState
Content copied to clipboard
rememberFirebaseGoogleSignInState(onResult = onResult)Content copied to clipboard