remit2any_auth 0.1.9
remit2any_auth: ^0.1.9 copied to clipboard
A Flutter package for Remit2Any authentication.
We analyzed this package 7 days ago, and awarded it 95 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.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.9").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
55 out of 135 API elements (40.7 %) have documentation comments.
Some symbols that are missing documentation: auth_service, auth_service.AuthService, auth_service.AuthService.AuthService.new, auth_service.AuthService.signIn, auth_service.AuthService.startTokenRefreshLoop.
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
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:remit2any_auth/remit2any_auth.dartthat imports:package:remit2any_auth/webview_auth_handler.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:remit2any_auth/remit2any_auth.dartthat imports:package:remit2any_auth/common_webview.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:remit2any_auth/remit2any_auth.dartthat imports:package:remit2any_auth/common_webview.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:remit2any_auth/remit2any_auth.dartthat imports:package:remit2any_auth/webview_auth_handler.dartthat imports:package:remit2any_auth/token_storage.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 94 issues. Showing the first 2:
WARNING: Unused import: 'user_info.dart'.
lib/auth_service.dart:5:8
╷
5 │ import 'user_info.dart';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auth_service.dart
WARNING: The declaration '_extractUserIdFromToken' isn't referenced.
lib/auth_service.dart:433:11
╷
433 │ String? _extractUserIdFromToken(String token) {
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auth_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 9.2.4 | |
http |
^1.0.0 |
1.5.0 | 1.5.0 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.0.0 |
11.4.0 | 12.0.1 | |
url_launcher |
^6.1.4 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.0.0` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.