push_notification_kit 0.4.0
push_notification_kit: ^0.4.0 copied to clipboard
Auth-agnostic Flutter push notifications: FCM token lifecycle, rich notifications (images & action buttons), deep links, and pluggable backend registration. Bring your own auth via a TokenProvider.
We analyzed this package 11 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Repository URL doesn't exist.
At the time of the analysis https://github.com/conapps/push_notification_kit 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/conapps/push_notification_kit/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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 126 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: push_notification_kit.CallbackEngagementReporter.CallbackEngagementReporter.new, push_notification_kit.CallbackEngagementReporter.reportClicked, push_notification_kit.CallbackEngagementReporter.reportOpened, push_notification_kit.CallbackTokenProvider.CallbackTokenProvider.new, push_notification_kit.DeviceRegistrar.DeviceRegistrar.new.
10/10 points: Package has 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:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_web/flutter_local_notifications_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
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:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:push_notification_kit/push_notification_kit.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_messaging |
>=15.0.0 <17.0.0 |
16.4.3 | 16.4.3 | |
flutter_local_notifications |
>=17.0.0 <23.0.0 |
22.2.0 | 22.2.0 | |
http |
>=1.0.0 <2.0.0 |
1.6.0 | 1.6.0 | |
path_provider |
>=2.0.0 <3.0.0 |
2.1.6 | 2.1.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.75 | 1.3.75 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.2.1 | 1.2.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.13 | 0.7.14 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
firebase_core |
- | 4.12.1 | 4.12.1 | |
firebase_core_platform_interface |
- | 8.0.0 | 8.0.0 | |
firebase_core_web |
- | 3.9.1 | 3.9.1 | |
firebase_messaging_platform_interface |
- | 4.9.2 | 4.9.2 | |
firebase_messaging_web |
- | 4.2.3 | 4.2.3 | |
flutter_local_notifications_linux |
- | 8.0.1 | 8.0.1 | |
flutter_local_notifications_platform_interface |
- | 12.1.0 | 12.1.0 | |
flutter_local_notifications_web |
- | 1.0.0 | 1.0.0 | |
flutter_local_notifications_windows |
- | 3.1.1 | 3.1.1 | |
hooks |
- | 2.0.2 | 2.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.2 | 1.0.2 | |
jni_flutter |
- | 1.0.2 | 1.0.2 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
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 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.19 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
objective_c |
- | 9.5.0 | 9.5.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 1.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.11 | 0.7.13 | |
timezone |
- | 0.11.1 | 0.11.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.1 | |
vm_service |
- | 15.2.0 | 15.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 9 errors:
NOT_ENOUGH_POSITIONAL_ARGUMENTS-lib/src/background.dart:35:5- 1 positional argument expected by 'initialize', but 0 found.UNDEFINED_NAMED_PARAMETER-lib/src/background.dart:35:5- The named parameter 'settings' isn't defined.NOT_ENOUGH_POSITIONAL_ARGUMENTS-lib/src/notification_renderer.dart:89:7- 4 positional arguments expected by 'show', but 0 found.
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.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.