notify_master 0.0.2
notify_master: ^0.0.2 copied to clipboard
A Flutter package for handling notifications with customizable features and support for various notification types.
We analyzed this package 38 hours ago, and awarded it 80 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/yourusername/notify_master 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_master.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_master/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
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.new, 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_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.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_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:notify_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.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 imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:notify_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.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_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.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 imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:notify_master/MessageService.dartthat imports:package:notify_master/NotificationHelper.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 imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
WARNING: The value of the local variable 'fromJid' isn't used.
lib/MessageService.dart:257:22
╷
257 │ 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:338:10
╷
338 │ 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 | Notes |
|---|---|---|---|---|
device_info_plus |
^9.1.2 |
9.1.2 | 12.3.0 | |
flutter_background_service |
^5.0.10 |
5.1.0 | 5.1.0 | |
flutter_image_compress |
^2.3.0 |
2.4.0 | 2.4.0 | |
flutter_local_notifications |
^12.0.0 |
12.0.4 | 19.5.0 | |
font_awesome_flutter |
^10.0.0 |
10.12.0 | 10.12.0 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
path_provider |
any |
2.1.5 | 2.1.5 | |
permission_handler |
any |
12.0.1 | 12.0.1 | |
shared_preferences |
^2.2.2 |
2.5.4 | 2.5.4 | |
url_launcher |
^6.0.0 |
6.3.2 | 6.3.2 | |
workmanager |
^0.5.1 |
0.5.2 | 0.9.0+3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 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:988: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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.