identity_firebase_link 0.3.0 icon indicating copy to clipboard operation
identity_firebase_link: ^0.3.0 copied to clipboard

Authenticate using Email Link by Firebase for Identity package

dart-identity-firebase-link #

Authenticate using Email Link by Firebase for Identity package

Getting Started #

  1. Enable Sign In With Link in Authentication settings of Firebase's project
  2. Create a dynamic link domain and add it to authorised domains in Authentication settings
  3. Add below package
identity_firebase_link: ^0.1.0
  1. Add following code to initState of main page
import 'package:identity/identity.dart';
import 'package:identity_firebase/identity_firebase.dart';
import 'package:identity_firebase_link/identity_firebase_link.dart';

// ...

@override
  void initState() {
    super.initState();
    Identity.of(context).init(
        FirebaseProvider([
          FirebaseEmailLinkAuthenticator(
              url: 'https://yourapp.firebaseapp.com',
              iOSBundleID: "com.example.app",
              androidPackageName: "com.example.app")
        ]),
        (context) => HomePage());
  }
  1. Run the app

Screenshot_1578638981 Screenshot_1578639120

0
likes
70
pub points
0%
popularity

Publisher

unverified uploader

Authenticate using Email Link by Firebase for Identity package

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-2-Clause (LICENSE)

Dependencies

crypto, firebase_auth, firebase_dynamic_links, flutter, identity, identity_firebase, shared_preferences

More

Packages that depend on identity_firebase_link