app_notification 0.0.4
app_notification: ^0.0.4 copied to clipboard
App Notification
We analyzed this package 5 hours ago, and awarded it 85 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/yourusername/app_notification 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/app_notification was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
2 out of 58 API elements (3.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: 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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:app_notification/MessageService.dartthat imports:package:app_notification/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 declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:app_notification/MessageService.dartthat imports:package:app_notification/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 declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:app_notification/MessageService.dartthat imports:package:app_notification/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:app_notification/MessageService.dartthat imports:package:app_notification/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:app_notification/MessageService.dartthat imports:package:app_notification/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 declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:app_notification/MessageService.dartthat imports:package:app_notification/NotificationHelper.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:app_notification/MessageService.dartthat imports:package:app_notification/NotificationHelper.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat 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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/app_notification/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'false'.
lib/NotificationHelper.dart:970:12
╷
970 │ if (url==null||url.isEmpty || !Uri.parse(url).isAbsolute) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/NotificationHelper.dart
WARNING: The operand can't be 'null', so the condition is always 'false'.
lib/NotificationHelper.dart:1099:19
╷
1099 │ if (richUrl == null ||richUrl.isEmpty || !Uri.parse(richUrl).isAbsolute) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/NotificationHelper.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.2.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 |
^18.0.1 |
18.0.1 | 19.5.0 | |
font_awesome_flutter |
^10.8.0 |
10.12.0 | 10.12.0 | |
http |
^1.2.2 |
1.5.0 | 1.5.0 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.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 `^18.0.1` on flutter_local_notifications does not support the stable version `19.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.6, Dart 3.9.2.
Check the analysis log for details.