patapata_firebase_auth 1.0.1 patapata_firebase_auth: ^1.0.1 copied to clipboard
This package is a plugin for Patapata that adds support for Firebase Authentication to your Patapata app.
Patapata - Firebase Authentication
Add support for Firebase Authentication to your Patapata app.
About #
This package is a plugin for Patapata that adds support for Firebase Authentication to your Patapata app. It integrates with Firebase Authentication and supports user authentication functionality.
This plugin requires the patapata_firebase_core plugin to be installed and activated.
Due to a bug in the FlutterFire CLI, the stable version of 0.2.7 (at the time of writing this README) does not write out the required paramaters to run firebase_auth correctly.
A temporary workaround is to use the dev version of the cli and run flutterfire configure
again.
https://github.com/invertase/flutterfire_cli/issues/210#issuecomment-1770505141
The above still might not be enough in some cases. If you are still having issues, try the following:
- Add
classpath 'com.google.gms:google-services:4.3.14'
toandroid/build.gradle
. Make sure the version is exactly that. - Add
apply plugin: 'com.google.gms.google-services'
toandroid/app/build.gradle
at the bottom of the file.
Getting started #
- Add the dependency to your
pubspec.yaml
file
flutter pub add patapata_firebase_auth
- Import the package
import 'package:patapata_firebase_auth/patapata_firebase_auth.dart';
- Activate the plugin
void main() {
App(
environment: const Environment(),
plugins: [
FirebaseCorePlugin(),
FirebaseAuthPlugin(),
],
)
.run();
}
Contributing #
Check out the CONTRIBUTING guide to get started.