jodija_repository 1.7.2
jodija_repository: ^1.7.2 copied to clipboard
A Flutter data repository and networking framework for single and multi-solution architectures with Dio HTTP client, Firebase integration, and typed error handling.
We analyzed this package 27 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
278 out of 586 API elements (47.4 %) have documentation comments.
Some symbols that are missing documentation: FCM, FCM.FCMService.FCMService.new, account, account.IBaseAuthentication.IBaseAuthentication.new, actions.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:jodija_repository/jodija_repository.dartthat imports:package:jodija_repository/utilis/firebase/FCM.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:jodija_repository/jodija_repository.dartthat imports:package:jodija_repository/utilis/functions/functions.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:jodija_repository/jodija_repository.dartthat imports:package:jodija_repository/utilis/firebase/storage.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:jodija_repository/jodija_repository.dartthat imports:package:jodija_repository/utilis/firebase/storage.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/reposetory/user/auth_repo.dart:38:9
╷
38 │ return _logInHttp();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/reposetory/user/auth_repo.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/reposetory/user/auth_repo.dart:40:9
╷
40 │ return _logInFirebase();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/reposetory/user/auth_repo.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
>=5.4.1 <8.0.0 |
7.2.0 | 7.2.0 | |
dio |
^5.4.0 |
5.11.1 | 5.11.1 | |
firebase_auth |
>=5.3.0 <8.0.0 |
7.1.0 | 7.1.0 | |
firebase_core |
>=3.4.1 <6.0.0 |
5.2.0 | 5.2.0 | |
firebase_messaging |
>=15.1.2 <18.0.0 |
17.1.0 | 17.1.0 | |
firebase_storage |
>=12.3.0 <15.0.0 |
14.1.0 | 14.1.0 | |
google_sign_in |
^7.2.0 |
7.2.0 | 7.2.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
meta |
^1.11.0 |
1.19.0 | 1.19.0 | |
pretty_dio_logger |
^1.0.0 |
1.4.0 | 1.4.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.50.0, Dart 3.14.0.
Check the analysis log for details.