hng_firebase_auth 1.0.1 copy "hng_firebase_auth: ^1.0.1" to clipboard
hng_firebase_auth: ^1.0.1 copied to clipboard

A simple and modular Firebase authentication wrapper for Flutter, supporting email/password, Google, and Apple sign-in.

60/ 160
pub points
23
downloads

We analyzed this package 6 days ago, and awarded it 60 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

25 out of 98 API elements (25.5 %) have documentation comments.

Some symbols that are missing documentation: firebase_options, firebase_options.DefaultFirebaseOptions, firebase_options.DefaultFirebaseOptions.DefaultFirebaseOptions.new, firebase_options.DefaultFirebaseOptions.android, firebase_options.DefaultFirebaseOptions.currentPlatform.

Passed check 10/10 points: Package has an example

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

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

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

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'firebase_secrets.dart'.

lib/firebase_options.dart:5:8

  ╷
5 │ import 'firebase_secrets.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Invalid constant value.

lib/firebase_options.dart:51:13

   ╷
51 │     apiKey: FirebaseSecrets.iosApiKey,
   │             ^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
cupertino_icons ^1.0.8 1.0.9 1.0.9
firebase_auth ^4.20.0 4.20.0 6.3.0
firebase_core ^2.32.0 2.32.0 4.6.0
google_sign_in >=6.1.5 <7.0.0 6.3.0 7.2.0
provider ^6.1.1 6.1.5+1 6.1.5+1
sign_in_with_apple ^5.0.0 5.0.0 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.35 1.3.68
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
firebase_auth_platform_interface - 7.3.0 8.1.8
firebase_auth_web - 5.12.0 6.1.4
firebase_core_platform_interface - 5.4.2 6.0.3
firebase_core_web - 2.17.5 3.5.1
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.10
google_sign_in_ios - 5.9.0 6.3.0
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.3
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.19 0.12.19
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
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 - 1.0.1 3.0.0
source_span - 1.10.2 1.10.2
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.10 0.7.11
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
vm_service - 15.0.2 15.0.2
web - 0.5.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `^4.20.0` on firebase_auth does not support the stable version `5.0.0`.

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

The constraint `^2.32.0` on firebase_core does not support the stable version `3.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 13 errors:

  • URI_DOES_NOT_EXIST - lib/firebase_options.dart:5:8 - Target of URI doesn't exist: 'firebase_secrets.dart'.
  • INVALID_CONSTANT - lib/firebase_options.dart:51:13 - Invalid constant value.
  • UNDEFINED_IDENTIFIER - lib/firebase_options.dart:51:13 - Undefined name 'FirebaseSecrets'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple and modular Firebase authentication wrapper for Flutter, supporting email/password, Google, and Apple sign-in.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_icons, firebase_auth, firebase_core, flutter, google_sign_in, provider, sign_in_with_apple

More

Packages that depend on hng_firebase_auth