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