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

Dart package which manages the authentication domain. Wraps Firebase Authentication and provides a simple API to authenticate users.

0
likes
120/ 160
pub points
225
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.1 3.0.6 3.0.6
firebase_auth ^5.3.1 5.6.0 5.6.0
firebase_core ^3.1.0 3.14.0 3.14.0
flutter_facebook_auth ^7.0.1 7.1.2 7.1.2
freezed_annotation ^2.0.3 2.4.4 3.0.0
google_sign_in ^6.0.1 6.3.0 7.0.0
meta ^1.3.0 1.16.0 1.17.0
sign_in_with_apple ^6.1.1 6.1.4 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.56 1.3.56
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
facebook_auth_desktop - 2.1.1 2.1.1
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
firebase_auth_platform_interface - 7.7.0 7.7.0
firebase_auth_web - 5.15.0 5.15.0
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.23.0 2.23.0
flutter_facebook_auth_platform_interface - 6.1.2 6.1.2
flutter_facebook_auth_web - 6.1.2 6.1.2
flutter_secure_storage - 9.2.4 9.2.4
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.0.1
google_sign_in_ios - 5.9.0 6.0.0
google_sign_in_platform_interface - 2.5.0 3.0.0
google_sign_in_web - 0.12.4+4 1.0.0
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
leak_tracker - 10.0.9 11.0.1
leak_tracker_flutter_testing - 3.0.9 3.0.10
leak_tracker_testing - 3.0.1 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sign_in_with_apple_platform_interface - 1.1.0 2.0.0
sign_in_with_apple_web - 2.1.1 3.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.6
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
vm_service - 15.0.0 15.0.2
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^2.0.3` on freezed_annotation does not support the stable version `3.0.0`.

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

The constraint `^6.0.1` on google_sign_in does not support the stable version `7.0.0`, that was published 2 days ago.

When google_sign_in is 30 days old, this package will no longer be awarded points in this category.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
225
downloads

Publisher

unverified uploader

Weekly Downloads

Dart package which manages the authentication domain. Wraps Firebase Authentication and provides a simple API to authenticate users.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, firebase_auth, firebase_core, flutter, flutter_facebook_auth, freezed_annotation, google_sign_in, meta, sign_in_with_apple

More

Packages that depend on firebase_authentication