stacked_firebase_auth 2.20.0 copy "stacked_firebase_auth: ^2.20.0" to clipboard
stacked_firebase_auth: ^2.20.0 copied to clipboard

A service class that provides Firebase Authentication Functionality on a single api

49
likes
120/ 140
pub points
88%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Stacked-Org/framework/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

73 out of 83 API elements (88.0 %) have documentation comments.

Some symbols that are missing documentation: stacked_firebase_auth, stacked_firebase_auth.FirebaseAuthenticationResult, stacked_firebase_auth.FirebaseAuthenticationResult.FirebaseAuthenticationResult, stacked_firebase_auth.FirebaseAuthenticationResult.FirebaseAuthenticationResult.error, stacked_firebase_auth.FirebaseAuthenticationResult.exceptionCode.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:stacked_firebase_auth/stacked_firebase_auth.dart that imports:
  • package:stacked_firebase_auth/src/firebase_authentication_service.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:stacked_firebase_auth/stacked_firebase_auth.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:stacked_firebase_auth/stacked_firebase_auth.dart that imports:
  • package:firebase_auth/firebase_auth.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: 'fetchSignInMethodsForEmail' is deprecated and shouldn't be used. fetchSignInMethodsForEmail() has been deprecated. Migrating off of this method is recommended as a security best-practice. Learn more in the Identity Platform documentation: https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection.

lib/src/firebase_authentication_service.dart:65:30

   ╷
65 │           await firebaseAuth.fetchSignInMethodsForEmail(email);
   │                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.

lib/src/firebase_authentication_service.dart:67:14

   ╷
67 │       return signInMethods.length > 0;
   │              ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_authentication_service.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.3 3.0.3 3.0.3
firebase_auth ^4.7.1 4.19.3 4.19.3
firebase_auth_platform_interface ^7.0.0 7.2.4 7.2.4
firebase_core ^2.15.0 2.30.1 2.30.1
flutter flutter 0.0.0 0.0.0
flutter_facebook_auth ^6.0.4 6.2.0 6.2.0
google_sign_in ^6.1.4 6.2.1 6.2.1
logger ^1.4.0 1.4.0 2.2.0
sign_in_with_apple ^5.0.0 5.0.0 6.1.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.31 1.3.31
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_web - 5.11.3 5.11.3
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
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
meta - 1.11.0 1.14.0
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 `^1.4.0` on logger does not support the stable version `2.0.0`.

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

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.