optareid_flutter 0.1.3
optareid_flutter: ^0.1.3 copied to clipboard
Official Optare ID SDK for Flutter - Authentication, licensing, and user management
We analyzed this package 15 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/optare/optareid-flutter 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
86 out of 109 API elements (78.9 %) have documentation comments.
Some symbols that are missing documentation: optareid_flutter.LicenseStatus.fromString, optareid_flutter.LicenseStatus.value, optareid_flutter.MemoryTokenStorage.MemoryTokenStorage.new, optareid_flutter.OptareAuth.OptareAuth.new, optareid_flutter.OptareAuthException.OptareAuthException.new.
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
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:optareid_flutter/optareid_flutter.dartthat imports:package:optareid_flutter/src/optare_auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:optareid_flutter/optareid_flutter.dartthat imports:package:optareid_flutter/src/optare_auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:optareid_flutter/optareid_flutter.dartthat imports:package:optareid_flutter/src/optare_auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:optareid_flutter/optareid_flutter.dartthat imports:package:optareid_flutter/src/token_storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:optareid_flutter/optareid_flutter.dartthat imports:package:optareid_flutter/src/token_storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
/tmp/pana_TDVLDZ/lib/src/exceptions.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_TDVLDZ/lib/src/models/license.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 10.0.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
shared_preferences |
^2.2.2 |
2.5.4 | 2.5.4 | |
uni_links |
^0.5.1 |
0.5.1 | 0.5.1 | Discontinued |
url_launcher |
^6.2.0 |
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 0 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 package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- uni_links.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.