patapata_firebase_auth 1.0.1 copy "patapata_firebase_auth: ^1.0.1" to clipboard
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' to android/build.gradle. Make sure the version is exactly that.
  • Add apply plugin: 'com.google.gms.google-services' to android/app/build.gradle at the bottom of the file.

Getting started #

  1. Add the dependency to your pubspec.yaml file
flutter pub add patapata_firebase_auth
  1. Import the package
import 'package:patapata_firebase_auth/patapata_firebase_auth.dart';
  1. Activate the plugin
void main() {
  App(
    environment: const Environment(),
    plugins: [
      FirebaseCorePlugin(),
      FirebaseAuthPlugin(),
    ],
  )
  .run();
}

Contributing #

Check out the CONTRIBUTING guide to get started.

License #

See the LICENSE file

0
likes
0
pub points
21%
popularity

Publisher

verified publishergree.co.jp

This package is a plugin for Patapata that adds support for Firebase Authentication to your Patapata app.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

firebase_auth, flutter, patapata_core

More

Packages that depend on patapata_firebase_auth