notify_sync 1.0.0
notify_sync: ^1.0.0 copied to clipboard
notify_sync is a Flutter package that integrates Firebase Cloud Messaging to handle incoming notifications, displays notifications locally on the device, and stores them in a Hive database for offline [...]
We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
10 out of 49 API elements (20.4 %) have documentation comments.
Some symbols that are missing documentation: notify_sync, notify_sync.BasicNotificationTile1, notify_sync.BasicNotificationTile1.BasicNotificationTile1.new, notify_sync.BasicNotificationTile1.notification, notify_sync.BasicNotificationTile1.onDismissed.
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
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/repository/notification_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Linux,macOS.
Package does not support platform `Linux`.
Because:
package:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/repository/notification_repository.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Web`.
Because:
package:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/service/hive_service.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,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:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/repository/notification_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/repository/notification_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:notify_sync/notify_sync.dartthat imports:package:notify_sync/src/service/notification_service.dartthat imports:package:notify_sync/src/repository/notification_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The type parameter 'T' shadows a type parameter from the enclosing class.
lib/src/service/hive_service.dart:29:26
╷
29 │ Future<void> storeData<T>(String key, [T? value]) async {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/service/hive_service.dart
INFO: The type parameter 'T' shadows a type parameter from the enclosing class.
lib/src/service/hive_service.dart:34:24
╷
34 │ Future<void> addData<T>(T data) async {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/service/hive_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_core |
^2.27.0 |
2.32.0 | 4.5.0 | |
firebase_messaging |
^14.7.19 |
14.9.4 | 16.1.2 | |
flutter_local_notifications |
^17.2.1+2 |
17.2.4 | 21.0.0 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.35 | 1.3.67 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.12 | 0.7.12 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_core_platform_interface |
- | 5.4.2 | 6.0.2 | |
firebase_core_web |
- | 2.17.5 | 3.5.0 | |
firebase_messaging_platform_interface |
- | 4.5.37 | 4.7.7 | |
firebase_messaging_web |
- | 3.8.7 | 4.1.3 | |
flutter_local_notifications_linux |
- | 4.0.1 | 8.0.0 | |
flutter_local_notifications_platform_interface |
- | 7.2.0 | 11.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.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 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.19 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.5 | 0.17.5 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 |
- | 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 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
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.9 | 0.7.10 | |
timezone |
- | 0.9.4 | 0.11.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 0.5.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^2.27.0` on firebase_core does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions firebase_core to update the constraint.
The constraint `^14.7.19` on firebase_messaging does not support the stable version `15.0.0`.
Try running dart pub upgrade --major-versions firebase_messaging 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.