FacebookButtonUiContainer
FacebookButton Ui Container Composable that handles all sign-in functionality for Facebook. Child of this Composable can be any view or Composable function. You need to call UiContainerScope.onClick function on your child view's click function.
onResult callback will return Result with FirebaseUser type.
Parameters
Request Scopes that is provided in Facebook OAuth. By Default, user's email and public profile info is requested.
Boolean flag to link account with current user. Default value is false.
Example Usage:
//Facebook Sign-In with Custom Button and authentication with Firebase
FacebookButtonUiContainer(onResult = onFirebaseResult) {
Button(onClick = { this.onClick() }) { Text("Facebook Sign-In (Custom Design)") }
}
FacebookButton Ui Container Composable that handles all sign-in functionality for Facebook. Child of this Composable can be any view or Composable function. You need to call UiContainerScope.onClick function on your child view's click function.
onResult callback will return Result with FirebaseUser type.
Parameters
list of request scopes type of FacebookSignInRequestScope.
if true, it will link the account with the current user. Default value is false Example Usage:
//Facebook Sign-In with Custom Button and authentication with Firebase
FacebookButtonUiContainer(onResult = onFirebaseResult) {
Button(onClick = { this.onClick() }) { Text("Facebook Sign-In (Custom Design)") }
}