firebase_authentication 0.0.32
firebase_authentication: ^0.0.32 copied to clipboard
Dart package which manages the authentication domain. Wraps Firebase Authentication and provides a simple API to authenticate users.
We analyzed this package 4 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
55 out of 72 API elements (76.4 %) have documentation comments.
Some symbols that are missing documentation: firebase_authentication, firebase_authentication.AuthUser.AuthUser.fromJson, firebase_authentication.AuthUser.authToken, firebase_authentication.AuthUser.copyWith, firebase_authentication.AuthUser.email.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/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_authentication/firebase_authentication.dartthat imports:package:firebase_authentication/src/firebase_authentication.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:firebase_authentication/firebase_authentication.dartthat imports:package:firebase_authentication/src/firebase_authentication.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat 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_authentication/firebase_authentication.dartthat imports:package:firebase_authentication/src/firebase_authentication.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat imports:package:sign_in_with_apple/src/sign_in_with_apple.dartthat imports:package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dartthat imports:package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:firebase_authentication/firebase_authentication.dartthat imports:package:firebase_authentication/src/firebase_authentication.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat imports:package:sign_in_with_apple/src/sign_in_with_apple.dartthat imports:package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dartthat imports:package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/models/auth_user.freezed.dart:255:17
╷
255 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/auth_user.freezed.dart
INFO: Uses 'await' on an instance of 'GoogleSignInAuthentication', which is not a subtype of 'Future'.
lib/src/firebase_authentication.dart:369:26
╷
369 │ final googleAuth = await googleUser.authentication;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_authentication.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.1 |
3.0.7 | 3.0.7 | |
firebase_auth |
^6.1.3 |
6.1.4 | 6.1.4 | |
flutter_facebook_auth |
^7.0.1 |
7.1.5 | 7.1.5 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
google_sign_in |
^7.2.0 |
7.2.0 | 7.2.0 | |
meta |
^1.3.0 |
1.17.0 | 1.18.1 | |
sign_in_with_apple |
^7.0.1 |
7.0.1 | 7.0.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.10, Flutter 3.41.0, Dart 3.11.0.
Check the analysis log for details.