easy_messaging 0.0.4
easy_messaging: ^0.0.4 copied to clipboard
Provides an easy way of handling Firebase Cloud Messaging service
We analyzed this package 23 hours ago, and awarded it 110 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/thruthesky/easy-packages/main/tree/easy_messaging
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/thruthesky/easy-packages/main/tree/easy_like
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
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 43 API elements (16.3 %) 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: easy_messaging
, easy_messaging.MessagingService
, easy_messaging.MessagingService.currentUser
, easy_messaging.MessagingService.fcmSubscriptions
, easy_messaging.MessagingService.fcmTokens
.
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:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/widgets/push_notification.toggle_icon.dart
that imports:package:easy_realtime_database/easy_realtime_database.dart
that imports:package:easy_realtime_database/src/value.dart
that imports:package:firebase_database/firebase_database.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/widgets/push_notification.toggle_icon.dart
that imports:package:easy_realtime_database/easy_realtime_database.dart
that imports:package:easy_realtime_database/src/value.dart
that imports:package:firebase_database/firebase_database.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/src/messaging.service.dart
that imports:package:firebase_auth/firebase_auth.dart
that imports:dart:io
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:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/src/messaging.service.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 `iOS`.
Because:
package:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/src/messaging.service.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:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/src/messaging.service.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
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:easy_messaging/easy_messaging.dart
that imports:package:easy_messaging/src/messaging.service.dart
that imports:package:firebase_auth/firebase_auth.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The value of the local variable 'tokens' isn't used.
lib/src/messaging.service.dart:226:24
╷
226 │ final List<String> tokens = await getTokens(uids);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/messaging.service.dart
INFO: Missing type annotation.
lib/src/messaging.service.dart:51:3
╷
51 │ init({
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/messaging.service.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
device_info_plus |
^10.1.1 |
10.1.2 | 12.1.0 | |
easy_helpers |
^0.0.11 |
0.0.14 | 0.0.14 | |
easy_realtime_database |
^0.0.3 |
0.0.8 | 0.0.10 | |
firebase_auth |
^5.1.1 |
5.3.0 | 6.1.0 | |
firebase_database |
^11.0.2 |
11.1.3 | 12.0.2 | |
firebase_messaging |
^15.0.2 |
15.1.2 | 16.0.2 | |
http |
^1.2.2 |
1.5.0 | 1.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.43 | 1.3.62 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
devicelocale |
- | 0.7.1 | 0.8.2 | |
easy_locale |
- | 0.0.12 | 0.0.12 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_auth_platform_interface |
- | 7.4.6 | 8.1.2 | |
firebase_auth_web |
- | 5.13.1 | 6.0.3 | |
firebase_core |
- | 3.5.0 | 4.1.1 | |
firebase_core_platform_interface |
- | 5.4.2 | 6.0.1 | |
firebase_core_web |
- | 2.24.0 | 3.1.1 | |
firebase_database_platform_interface |
- | 0.2.5+43 | 0.2.6+13 | |
firebase_database_web |
- | 0.2.6+1 | 0.2.6+19 | |
firebase_messaging_platform_interface |
- | 4.5.45 | 4.7.2 | |
firebase_messaging_web |
- | 3.9.1 | 4.0.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.19.0 | 0.20.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 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.6 | 0.7.7 | |
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 |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
win32_registry |
- | 1.1.5 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^10.1.1` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^5.1.1` on firebase_auth does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions firebase_auth
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.