mehery_sender 0.0.12
mehery_sender: ^0.0.12 copied to clipboard
A Flutter package to send device tokens to a server.
We analyzed this package 16 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
16 out of 153 API elements (10.5 %) 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: delivery_notification, delivery_notification.DeliveryNotification, delivery_notification.DeliveryNotification.DeliveryNotification.new, delivery_notification.DeliveryNotification.build, delivery_notification.DeliveryNotificationConfig.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Windows`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Web`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:mehery_sender/mehery_sender.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/mehery_sender.dart:177:59
╷
177 │ await sendTokenToServer('android', firebaseToken!);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mehery_sender.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/mehery_sender.dart:184:23
╷
184 │ if (apnsToken != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mehery_sender.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_set_id |
^1.2.0 |
1.3.0 | 1.3.0 | |
device_info_plus |
^11.4.0 |
11.5.0 | 12.3.0 | |
dynamix_flutter_sdk |
^0.0.3 |
0.0.5 | 0.0.5 | |
firebase_messaging |
^14.0.0 |
14.7.10 | 16.1.0 | |
flutter_html |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_local_notifications |
^16.3.0 |
16.3.3 | 19.5.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
package_info_plus |
^8.3.0 |
8.3.1 | 9.0.0 | |
provider |
^6.0.0 |
6.1.5+1 | 6.1.5+1 | |
shared_preferences |
^2.2.2 |
2.5.4 | 2.5.4 | |
super_tooltip |
^2.0.7 |
2.1.0 | 2.1.0 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.2 | |
web_socket_channel |
^2.4.0 |
2.4.0 | 3.0.3 | |
webview_flutter |
^4.13.0 |
4.13.1 | 4.13.1 | |
webview_flutter_wkwebview |
^3.22.0 |
3.23.5 | 3.23.5 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^11.4.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^14.0.0` 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.