firebase_authentication 0.0.27 copy "firebase_authentication: ^0.0.27" to clipboard
firebase_authentication: ^0.0.27 copied to clipboard

Dart package which manages the authentication domain.

0
likes
90/ 140
pub points
75%
popularity

We analyzed this package 18 hours ago, and awarded it 90 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

55 out of 71 API elements (77.5 %) have documentation comments.

Some symbols that are missing documentation: firebase_authentication, firebase_authentication.AuthUser.authToken, firebase_authentication.AuthUser.copyWith, firebase_authentication.AuthUser.email, firebase_authentication.AuthUser.emailVerified.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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_authentication/firebase_authentication.dart that imports:
  • package:firebase_authentication/src/firebase_authentication.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:firebase_authentication/firebase_authentication.dart that imports:
  • package:firebase_authentication/src/firebase_authentication.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.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_authentication/firebase_authentication.dart that imports:
  • package:firebase_authentication/src/firebase_authentication.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple/src/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dart that imports:
  • package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 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: The variable name '_$$_AuthUserFromJson' isn't a lowerCamelCase identifier.

lib/src/models/auth_user.g.dart:9:13

  ╷
9 │ _$_AuthUser _$$_AuthUserFromJson(Map<String, dynamic> json) => _$_AuthUser(
  │             ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/auth_user.g.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
crypto ^3.0.1 3.0.3 3.0.3
firebase_auth ^4.2.6 4.19.4 4.19.4
firebase_core ^2.5.0 2.30.1 2.30.1
flutter flutter 0.0.0 0.0.0
flutter_facebook_auth ^6.0.0 6.2.0 6.2.0
freezed_annotation ^2.0.3 2.4.1 2.4.1
google_sign_in ^6.0.1 6.2.1 6.2.1
meta ^1.3.0 1.11.0 1.14.0
sign_in_with_apple ^5.0.0 5.0.0 6.1.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.32 1.3.32
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
facebook_auth_desktop - 1.0.3 1.0.3
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
firebase_auth_platform_interface - 7.2.5 7.2.5
firebase_auth_web - 5.11.4 5.11.4
firebase_core_platform_interface - 5.0.0 5.0.0
firebase_core_web - 2.16.0 2.16.0
flutter_facebook_auth_platform_interface - 5.0.0 5.0.0
flutter_facebook_auth_web - 5.0.0 5.0.1
flutter_secure_storage - 9.0.0 9.0.0
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 3.0.1 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 3.0.0 3.0.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.1+1 0.3.1+1
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4 0.12.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 1.0.1 2.1.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.1
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

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

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

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.