offline_sync_kit 1.5.3
offline_sync_kit: ^1.5.3 copied to clipboard
A comprehensive Flutter package for offline data synchronization with remote APIs, featuring real-time WebSocket support, automatic conflict resolution, and customizable options.
We analyzed this package 19 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:4:4
╷
4 │ <p><a href="http://buymeacoffee.com/canarslandev"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt=""Buy Me A Coffee"" /></a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
323 out of 442 API elements (73.1 %) have documentation comments.
Some symbols that are missing documentation: offline_sync_kit
, offline_sync_kit.ConnectivityOptions
, offline_sync_kit.ConnectivityService
, offline_sync_kit.ConnectivityService.ConnectivityService.new
, offline_sync_kit.ConnectivityService.connectionStream
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that imports:package:offline_sync_kit/src/offline_sync_manager.dart
that imports:package:offline_sync_kit/src/sync_engine.dart
that imports:package:offline_sync_kit/src/services/connectivity_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that imports:package:offline_sync_kit/src/offline_sync_manager.dart
that imports:package:offline_sync_kit/src/sync_engine.dart
that imports:package:offline_sync_kit/src/services/connectivity_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that imports:package:offline_sync_kit/src/offline_sync_manager.dart
that imports:package:offline_sync_kit/src/sync_engine.dart
that imports:package:offline_sync_kit/src/services/connectivity_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:offline_sync_kit/offline_sync_kit.dart
that imports:package:offline_sync_kit/src/offline_sync_manager.dart
that imports:package:offline_sync_kit/src/sync_engine.dart
that imports:package:offline_sync_kit/src/services/connectivity_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:offline_sync_kit/offline_sync_kit.dart
that imports:package:offline_sync_kit/src/network/websocket_network_client.dart
that imports:package:offline_sync_kit/src/network/websocket_connection_manager.dart
that 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/offline_sync_manager.dart:523:35
╷
523 │ if (condition.field != null && condition.value != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/offline_sync_manager.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/offline_sync_manager.dart:524:44
╷
524 │ queryParams[condition.field!] = condition.value;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/offline_sync_manager.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
connectivity_plus |
^6.1.3 |
6.1.4 | 6.1.4 | |
crypto |
^3.0.6 |
3.0.6 | 3.0.6 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
http |
^1.3.0 |
1.4.0 | 1.4.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
isar |
^3.1.0+1 |
3.1.0+1 | 3.1.0+1 | |
isar_flutter_libs |
^3.1.0+1 |
3.1.0+1 | 3.1.0+1 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 | |
sqflite |
^2.3.0 |
2.4.2 | 2.4.2 | |
sqflite_common_ffi |
^2.3.0 |
2.3.6 | 2.3.6 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 6.1.0 | 7.0.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
sqlite3 |
- | 2.7.6 | 2.7.6 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.6.0 |
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.