offline_sync_flutter 1.0.1
offline_sync_flutter: ^1.0.1 copied to clipboard
An automatic offline-first API synchronization system for Flutter apps. Handles request queue management, automatic sync when internet returns, and conflict resolution.
We analyzed this package 38 hours ago, and awarded it 50 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/example/offline_sync_flutter was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/example/offline_sync_flutter was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/example/offline_sync_flutter/issues 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.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 110 API elements (6.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: connectivity_monitor, connectivity_monitor.ConnectivityMonitor, connectivity_monitor.ConnectivityMonitor.ConnectivityMonitor.new, connectivity_monitor.ConnectivityMonitor.dispose, connectivity_monitor.ConnectivityMonitor.initialize.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The argument type 'List
lib/core/connectivity_monitor.dart:17:21
╷
17 │ _updateStatus(result);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/connectivity_monitor.dart
ERROR: A value of type 'StreamSubscription
lib/core/connectivity_monitor.dart:19:23
╷
19 │ _subscription = _connectivity.onConnectivityChanged.listen(_updateStatus);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/connectivity_monitor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^6.0.0 |
6.1.5 | 7.3.1 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.2 |
2.1.6 | 2.1.6 | |
sqflite |
^2.3.0 |
2.4.3 | 2.4.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.2.1 | 1.2.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.14 | 0.7.14 | |
ffi |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.0.2 | 2.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
objective_c |
- | 9.4.1 | 9.4.1 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 1.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite_android |
- | 2.4.3 | 2.4.3 | |
sqflite_common |
- | 2.5.11 | 2.5.11 | |
sqflite_darwin |
- | 2.4.3+1 | 2.4.3+1 | |
sqflite_platform_interface |
- | 2.4.1 | 2.4.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.1+1 | 3.4.1+1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.1 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.0` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/core/connectivity_monitor.dart:17:21- The argument type 'ListINVALID_ASSIGNMENT-lib/core/connectivity_monitor.dart:19:23- A value of type 'StreamSubscription<ListARGUMENT_TYPE_NOT_ASSIGNABLE-lib/core/connectivity_monitor.dart:19:66- The argument type 'void Function(ConnectivityResult)' can't be assigned to the parameter type 'void Function(List
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.