hng_auth_sdk 0.0.1
hng_auth_sdk: ^0.0.1 copied to clipboard
description: A lightweight authentication SDK that provides secure firebase login, signup, signout and API utilities for HNG applications.
We analyzed this package 44 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/mhkaycey/HNG_AUTH/tree/main/hng_auth_sdk 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 121 API elements (22.3 %) have documentation comments.
Some symbols that are missing documentation: auth_sdk_headless, hng_auth_sdk, hng_auth_sdk.AuthCancelledException, hng_auth_sdk.AuthCancelledException.AuthCancelledException.new, hng_auth_sdk.AuthConfig.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:hng_auth_sdk/hng_auth_sdk.dartthat imports:package:hng_auth_sdk/headless/auth_sdk_headless.dartthat imports:package:hng_auth_sdk/src/core/auth_service.dartthat imports:package:hng_auth_sdk/src/providers/apple_auth_provider.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:hng_auth_sdk/hng_auth_sdk.dartthat imports:package:hng_auth_sdk/headless/auth_sdk_headless.dartthat imports:package:hng_auth_sdk/src/models/auth_user.dartthat imports:package:firebase_auth/firebase_auth.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:hng_auth_sdk/hng_auth_sdk.dartthat imports:package:hng_auth_sdk/headless/auth_sdk_headless.dartthat imports:package:hng_auth_sdk/src/core/auth_state.dartthat imports:package:flutter_riverpod/legacy.dartthat imports:package:flutter_riverpod/src/internals.dartthat imports:package:flutter_riverpod/src/core.dartthat imports:package:flutter_test/flutter_test.dartthat imports:package:flutter_test/src/widget_tester.dartthat imports:package:flutter_test/src/test_text_input.dartthat imports:package:flutter_test/src/test_text_input_key_handler.dartthat imports:package:flutter_test/src/binding.dartthat imports:package:flutter_test/src/platform.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
INFO: Type could be non-nullable.
lib/src/providers/google_auth_provider.dart:29:34
╷
29 │ final GoogleSignInAccount? googleUser = await _googleSignIn
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/google_auth_provider.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/ui/theme/auth_theme.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/theme/auth_theme.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.7 |
2.1.0 | 3.0.0 | |
firebase_auth |
^6.1.2 |
6.7.1 | 7.1.0 | |
firebase_core |
^4.2.1 |
4.15.2 | 5.2.0 | |
flutter_riverpod |
^3.0.3 |
3.5.0 | 3.5.0 | |
flutter_svg |
^2.0.7 |
2.5.0 | 2.5.0 | |
google_sign_in |
^7.2.0 |
7.2.0 | 7.2.0 | |
sign_in_with_apple |
^7.0.1 |
7.0.1 | 8.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.77 | 1.4.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
cli_util |
- | 0.6.1 | 0.6.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
cupertino_ui |
- | 1.1.7 | 1.1.7 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
firebase_auth_platform_interface |
- | 9.1.0 | 9.2.0 | |
firebase_auth_web |
- | 6.3.0 | 6.4.0 | |
firebase_core_platform_interface |
- | 8.2.0 | 8.2.0 | |
firebase_core_web |
- | 3.12.0 | 4.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
google_sign_in_android |
- | 7.2.19 | 7.2.19 | |
google_sign_in_ios |
- | 6.4.0 | 6.4.0 | |
google_sign_in_platform_interface |
- | 3.1.0 | 3.1.0 | |
google_sign_in_web |
- | 1.1.3 | 1.1.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
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 | |
listen |
- | 1.0.1 | 1.0.1 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
material_ui |
- | 1.11.1 | 1.11.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
riverpod |
- | 3.5.0 | 3.5.0 | |
sign_in_with_apple_platform_interface |
- | 2.0.0 | 2.0.0 | |
sign_in_with_apple_web |
- | 3.0.0 | 3.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
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.14 | 0.7.15 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_graphics |
- | 1.3.1 | 1.3.1 | |
vector_graphics_codec |
- | 1.2.0 | 1.2.0 | |
vector_graphics_compiler |
- | 1.3.6 | 1.3.6 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
vm_service |
- | 15.4.0 | 15.4.0 | |
web |
- | 1.1.2 | 1.1.2 | |
xml |
- | 7.0.1 | 7.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^2.0.7` on equatable does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions equatable to update the constraint.
The constraint `^6.1.2` on firebase_auth does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions firebase_auth to update the constraint.
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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.