auth_provider 2.0.8
auth_provider: ^2.0.8 copied to clipboard
A flutter authentication managemnt tool
We analyzed this package 15 days ago, and awarded it 90 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
Repository URL doesn't exist.
At the time of the analysis https://github.com/AKWAD-Dragons/auth_provider 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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
11 out of 157 API elements (7.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: AmazonAuthMethod, AppleAuthMethod, AppleAuthMethod.AppleAuthMethod, AppleAuthMethod.AppleAuthMethod.AppleAuthMethod.new, AppleAuthMethod.AppleAuthMethod.apiLink.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:auth_provider/AuthMethod.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:auth_provider/AuthMethod.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:auth_provider/AuthMethod.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:auth_provider/AuthMethod.dartthat declares support for platforms:Android,iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/auth_provider/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
WARNING: The value of the field '_authMethodType' isn't used.
lib/AuthProvider.dart:23:9
╷
23 │ Type? _authMethodType;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/AuthProvider.dart
WARNING: This function has a nullable return type of 'Future
lib/AuthProvider.dart:110:17
╷
110 │ Future<void>? logout({AuthMethod? from}) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/AuthProvider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_auth |
^1.3.0 |
1.4.1 | 6.1.3 | |
firebase_core |
^1.2.1 |
1.24.0 | 4.3.0 | |
fly_networking |
^3.0.0 |
3.0.2 | 3.0.2 | |
get_it |
^7.1.3 |
7.7.0 | 9.2.0 | |
google_sign_in |
^5.0.4 |
5.4.4 | 7.2.0 | |
json_annotation |
^4.0.1 |
4.9.0 | 4.9.0 | |
shared_preferences |
^2.0.6 |
2.5.4 | 2.5.4 | |
sign_in_with_apple |
^3.0.0 |
3.3.0 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
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 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_auth_platform_interface |
- | 4.3.1 | 8.1.5 | |
firebase_auth_web |
- | 1.3.1 | 6.1.1 | |
firebase_core_platform_interface |
- | 4.8.0 | 6.0.2 | |
firebase_core_web |
- | 1.7.3 | 3.3.1 | |
google_sign_in_android |
- | 6.2.1 | 7.2.7 | |
google_sign_in_ios |
- | 5.9.0 | 6.2.4 | |
google_sign_in_platform_interface |
- | 2.5.0 | 3.1.0 | |
google_sign_in_web |
- | 0.10.2+1 | 1.1.0 | |
http |
- | 0.13.6 | 1.6.0 | |
http_interceptor |
- | 1.0.2 | 2.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.17.0 | 0.20.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.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.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 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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.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.7 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^1.3.0` on firebase_auth does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions firebase_auth to update the constraint.
The constraint `^1.2.1` on firebase_core does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions firebase_core to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
MISSING_REQUIRED_ARGUMENT-lib/auth_methods/GoogleAuthMethod.dart:41:11- The named parameter 'name' is required, but there's no corresponding argument.UNDEFINED_NAMED_PARAMETER-lib/auth_methods/GoogleAuthMethod.dart:42:11- The named parameter 'title' isn't defined.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.