notify_service 5.0.13 notify_service: ^5.0.13 copied to clipboard
A Flutter package for handling notifications with customizable features and support for various notification types.
We analyzed this package 6 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/yourusername/notify_service
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/yourusername/notify_service.git
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/yourusername/notify_service/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: notify_service
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 49 API elements (0.0 %) 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: MessageService
, MessageService.MessageService
, MessageService.MessageService.MessageService
, MessageService.MessageService.channelId
, MessageService.MessageService.checkForMessages
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
.
Package does not support platform `Linux`.
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:path_provider/path_provider.dart
that 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_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:notify_service/MessageService.dart
that imports:package:notify_service/NotificationHelper.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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 12 issues. Showing the first 2:
WARNING: The value of the local variable 'fromJid' isn't used.
lib/MessageService.dart:228:22
╷
228 │ String fromJid = notification['from_jid'];
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/MessageService.dart
WARNING: The declaration '_constructUrl' isn't referenced.
lib/MessageService.dart:311:10
╷
311 │ String _constructUrl(String username) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/MessageService.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
device_info_plus |
^9.1.2 |
9.1.2 | 11.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_background_service |
^5.0.10 |
5.1.0 | 5.1.0 |
flutter_image_compress |
^2.3.0 |
2.3.0 | 2.3.0 |
flutter_local_notifications |
^12.0.0 |
12.0.4 | 18.0.1 |
font_awesome_flutter |
^10.0.0 |
10.8.0 | 10.8.0 |
http |
^0.13.4 |
0.13.6 | 1.2.2 |
path_provider |
any |
2.1.5 | 2.1.5 |
permission_handler |
any |
11.3.1 | 11.3.1 |
shared_preferences |
^2.2.2 |
2.3.4 | 2.3.4 |
url_launcher |
^6.0.0 |
6.3.1 | 6.3.1 |
workmanager |
^0.5.1 |
0.5.2 | 0.5.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^12.0.0` on flutter_local_notifications does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications
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 1 error:
UNDEFINED_METHOD
-lib/NotificationHelper.dart:741:16
- The method 'launchUrl' isn't defined for the type 'NotificationHelper'.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.