firebase_auth 2.0.0 copy "firebase_auth: ^2.0.0" to clipboard
firebase_auth: ^2.0.0 copied to clipboard

outdated

Flutter plugin for Firebase Auth, enabling Android and iOS authentication using passwords, phone numbers and identity providers like Google, Facebook and Twitter.

3980
likes
130/ 160
pub points
100%
popularity

We analyzed this package 40 hours ago, and awarded it 130 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: firebase_auth,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/firebase_auth/firebase_auth/pubspec.yaml from the repository URL mismatch: expected https://github.com/FirebaseExtended/flutterfire but got https://github.com/firebase/flutterfire.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

217 out of 225 API elements (96.4 %) have documentation comments.

Some symbols that are missing documentation: firebase_auth, firebase_auth.EmailAuthProvider.PROVIDER_ID, firebase_auth.FacebookAuthProvider.PROVIDER_ID, firebase_auth.GithubAuthProvider.PROVIDER_ID, firebase_auth.GoogleAuthProvider.PROVIDER_ID.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:firebase_auth/firebase_auth.dart that imports:
  • package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart that imports:
  • package:firebase_auth_platform_interface/src/platform_interface/platform_interface_firebase_auth.dart that imports:
  • package:firebase_auth_platform_interface/src/method_channel/method_channel_firebase_auth.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_auth/firebase_auth.dart that imports:
  • package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart that imports:
  • package:firebase_auth_platform_interface/src/platform_interface/platform_interface_firebase_auth.dart that imports:
  • package:firebase_auth_platform_interface/src/method_channel/method_channel_firebase_auth.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/firebase_auth/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: The import of 'package:flutter/material.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/firebase_auth.dart:13:8

   ╷
13 │ import 'package:flutter/material.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_auth.dart

INFO: The import of 'package:meta/meta.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/firebase_auth.dart:14:8

   ╷
14 │ import 'package:meta/meta.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_auth.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
firebase_auth_platform_interface ^5.0.0 5.0.0 7.4.9
firebase_auth_web ^2.0.0 2.0.0 5.13.4
firebase_core ^1.3.0 1.19.0 3.8.0
firebase_core_platform_interface ^4.0.1 4.4.1 5.3.0
flutter flutter 0.0.0 0.0.0
meta ^1.3.0 1.15.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
firebase_core_web - 1.6.5 2.18.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
intl - 0.17.0 0.20.0
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^5.0.0` on firebase_auth_platform_interface does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions firebase_auth_platform_interface to update the constraint.

The constraint `^2.0.0` on firebase_auth_web does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions firebase_auth_web to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

3980
likes
130
pub points
100%
popularity

Publisher

verified publisherfirebase.google.com

Flutter plugin for Firebase Auth, enabling Android and iOS authentication using passwords, phone numbers and identity providers like Google, Facebook and Twitter.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_auth_platform_interface, firebase_auth_web, firebase_core, firebase_core_platform_interface, flutter, meta

More

Packages that depend on firebase_auth