flutter_gb_fire_push_notifications 0.18.0
flutter_gb_fire_push_notifications: ^0.18.0 copied to clipboard
A Flutter package for simplified Firebase Push Notifications integration, providing Bloc-based management for device token registration, removal, and notification handling.
We analyzed this package 35 hours ago, and awarded it 130 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: BSD-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
72 out of 300 API elements (24.0 %) have documentation comments.
Some symbols that are missing documentation: application, bloc, bloc_config, bloc_config.FirePushNotificationsBlocConfig, bloc_config.FirePushNotificationsBlocConfig.FirePushNotificationsBlocConfig.new.
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:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/infrastructure.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/services/services.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/services/push_notifications_service_impl.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/infrastructure.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/services/services.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/services/push_notifications_service_impl.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package not compatible with platform Web
Because:
package:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/presentation/presentation.dartthat imports:package:flutter_gb_fire_push_notifications/presentation/containers/containers.dartthat imports:package:flutter_gb_fire_push_notifications/presentation/containers/push_notification_listener.dartthat imports:package:flutter_gb_stack_base/flutter_gb_stack_base.dartthat imports:package:flutter_gb_stack_base/modules/modules.dartthat imports:package:flutter_gb_stack_base/modules/testing/testing.dartthat imports:package:flutter_test/flutter_test.dartthat imports:package:flutter_test/src/widget_tester.dartthat imports:package:flutter_test/src/test_text_input.dartthat imports:package:flutter_test/src/test_text_input_key_handler.dartthat imports:package:flutter_test/src/binding.dartthat imports:package:flutter_test/src/platform.dartthat 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:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/infrastructure.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/facades.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/device_info_facade_impl.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 `iOS`.
Because:
package:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/infrastructure.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/facades.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/device_info_facade_impl.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:flutter_gb_fire_push_notifications/flutter_gb_fire_push_notifications.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/infrastructure.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/facades.dartthat imports:package:flutter_gb_fire_push_notifications/infrastructure/facades/device_info_facade_impl.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: The value of the local variable 'notification' isn't used.
lib/application/bloc/push_notifications/push_notifications_bloc.dart:124:45
╷
124 │ case _NotificationReceived(:final notification, :final background):
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/bloc/push_notifications/push_notifications_bloc.dart
WARNING: The value of the local variable 'background' isn't used.
lib/application/bloc/push_notifications/push_notifications_bloc.dart:124:66
╷
124 │ case _NotificationReceived(:final notification, :final background):
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/bloc/push_notifications/push_notifications_bloc.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_value |
^8.12.1 |
8.12.1 | 8.12.1 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
device_info_plus |
^12.3.0 |
12.3.0 | 12.3.0 | |
firebase_messaging |
^16.1.0 |
16.1.0 | 16.1.0 | |
flutter_bloc |
^9.1.1 |
9.1.1 | 9.1.1 | |
flutter_gb_built_utils |
^1.0.1 |
1.0.1 | 1.0.1 | |
flutter_gb_stack_base |
^5.2.0 |
5.4.0 | 5.4.0 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
get_it |
^9.2.0 |
9.2.0 | 9.2.0 | |
http |
^1.6.0 |
1.6.0 | 1.6.0 | |
logger |
^2.6.2 |
2.6.2 | 2.6.2 | |
mockito |
^5.5.0 |
5.6.1 | 5.6.1 | |
shared_preferences |
^2.5.4 |
2.5.4 | 2.5.4 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 92.0.0 | 93.0.0 | |
_flutterfire_internals |
- | 1.3.65 | 1.3.65 | |
analyzer |
- | 9.0.0 | 10.0.0 | |
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
bloc |
- | 9.2.0 | 9.2.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.3 | 4.0.3 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_builder |
- | 4.11.1 | 4.11.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
corsac_jwt |
- | 2.0.2 | 2.0.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
crypto_keys |
- | 0.3.0+2 | 0.3.0+2 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_core |
- | 4.3.0 | 4.3.0 | |
firebase_core_platform_interface |
- | 6.0.2 | 6.0.2 | |
firebase_core_web |
- | 3.3.1 | 3.3.1 | |
firebase_messaging_platform_interface |
- | 4.7.5 | 4.7.5 | |
firebase_messaging_web |
- | 4.1.1 | 4.1.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
gb_flutils |
- | 3.0.0 | 3.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jose |
- | 0.3.5 | 0.3.5 | |
json_annotation |
- | 4.9.0 | 4.9.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.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
posix |
- | 6.0.3 | 6.0.3 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_gen |
- | 4.1.1 | 4.1.1 | |
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.7 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
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
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.