flex_otp 0.0.4
flex_otp: ^0.0.4 copied to clipboard
A clean architecture OTP service package for Flutter supporting multiple SMS providers.
We analyzed this package 3 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
4 out of 14 API elements (28.6 %) have documentation comments.
Some symbols that are missing documentation: flex_otp, flex_otp.FirebaseOtpRepositoryImpl, flex_otp.FirebaseOtpRepositoryImpl.FirebaseOtpRepositoryImpl.new, flex_otp.OtpRepository, flex_otp.OtpRepository.OtpRepository.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:flex_otp/flex_otp.dartthat imports:package:flex_otp/src/data/repositories/firebase_otp_repo_impl.dartthat imports:package:firebase_auth/firebase_auth.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Library names are not necessary.
lib/flex_otp.dart:1:9
╷
1 │ library flex_otp;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flex_otp.dart
INFO: Don't invoke 'print' in production code.
lib/src/data/repositories/firebase_otp_repo_impl.dart:62:7
╷
62 │ print("Verification failed: $e");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/repositories/firebase_otp_repo_impl.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_auth |
^5.0.0 |
5.7.0 | 6.7.0 | |
firebase_core |
^3.0.0 |
3.15.2 | 4.15.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.59 | 1.3.77 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_auth_platform_interface |
- | 7.7.3 | 9.1.0 | |
firebase_auth_web |
- | 5.15.3 | 6.3.0 | |
firebase_core_platform_interface |
- | 6.0.3 | 8.1.1 | |
firebase_core_web |
- | 2.24.1 | 3.12.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
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.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
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.12 | 0.7.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
vm_service |
- | 15.3.0 | 15.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.0` on firebase_auth does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions firebase_auth to update the constraint.
The constraint `^3.0.0` on firebase_core does not support the stable version `4.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
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.47.4, Dart 3.13.3.
Check the analysis log for details.