remit2any_auth 0.2.0
remit2any_auth: ^0.2.0 copied to clipboard
A Flutter package for Remit2Any authentication.
We analyzed this package 43 hours 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.2.0").
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
62 out of 147 API elements (42.2 %) 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_payment_page.dartthat imports:package:remit2any_auth/common_webview.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/webview_payment_page.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/webview_payment_page.dartthat imports:package:remit2any_auth/common_webview.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 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:438:11
╷
438 │ 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 | 10.0.0 | |
http |
^1.0.0 |
1.6.0 | 1.6.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 `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 28 days ago.
When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.