firebase_dart_flutter_auth_facebook 0.0.1+5
firebase_dart_flutter_auth_facebook: ^0.0.1+5 copied to clipboard
Provides a `firebase_dart` auth handler for sign in with Facebook using the native Facebook API
Provides a firebase_dart
auth handler for sign in with Facebook using the native Facebook API.
Usage #
Initialize FirebaseDartFlutter
with the auth handler.
await FirebaseDartFlutter.setup(
socialAuthHandlers: [
FacebookAuthHandler(
facebookAppIdForFirebaseApp: (app) => '[YOUR FACEBOOK APP ID]',
),
],
);
Start sign in process:
await auth.signInWithPopup(FacebookAuthProvider());
integration #
See: https://pub.flutter-io.cn/packages/flutter_facebook_auth