firebase_messaging_handler 0.1.1-beta.1 copy "firebase_messaging_handler: ^0.1.1-beta.1" to clipboard
firebase_messaging_handler: ^0.1.1-beta.1 copied to clipboard

PlatformiOSweb

Flutter FCM superpack: unified click stream (FG/BG/terminated), auto-initial handling, data-only bridge, inbox, in-app UX, badges, sounds, and web polish.

130/ 160
pub points
151
downloads

We analyzed this package 9 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

pubspec.yaml from the repository URL mismatch: expected https://github.com/qoder-official/firebase_messaging_handler but got https://github.com/neel-sharma/firebase_messaging_handler.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: firebase_messaging_handler,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

290 out of 614 API elements (47.2 %) have documentation comments.

Some symbols that are missing documentation: firebase_messaging_handler, firebase_messaging_handler.AnalyticsCallback, firebase_messaging_handler.AnalyticsError.AnalyticsError.new, firebase_messaging_handler.AnalyticsServiceInterface.AnalyticsServiceInterface.new, firebase_messaging_handler.AndroidForegroundNotificationBuilder.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that declares support for platforms: iOS, Web.
Package does not support platform `Windows`.

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that declares support for platforms: iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that declares support for platforms: iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that declares support for platforms: iOS, Web.

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:firebase_messaging_handler/firebase_messaging_handler.dart that imports:
  • package:firebase_messaging_handler/src/in_app/export.dart that imports:
  • package:firebase_messaging_handler/src/in_app/templates/generic_template.dart that imports:
  • package:firebase_messaging_handler/src/models/export.dart that imports:
  • package:firebase_messaging_handler/src/models/foreground_notification_options.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that imports:
  • package:firebase_messaging_handler/src/in_app/export.dart that imports:
  • package:firebase_messaging_handler/src/in_app/templates/generic_template.dart that imports:
  • package:firebase_messaging_handler/src/models/export.dart that imports:
  • package:firebase_messaging_handler/src/models/foreground_notification_options.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_messaging_handler/firebase_messaging_handler.dart that imports:
  • package:firebase_messaging_handler/src/core/export.dart that imports:
  • package:firebase_messaging_handler/src/core/managers/export.dart that imports:
  • package:firebase_messaging_handler/src/core/managers/in_app_message_manager.dart that imports:
  • package:firebase_messaging_handler/src/core/services/export.dart that imports:
  • package:firebase_messaging_handler/src/core/services/firebase_messaging_handler_notification_service.dart that imports:
  • package:universal_html/js.dart that imports:
  • package:universal_html/src/_sdk/js.dart that imports:
  • dart:js

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.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/firebase_messaging_handler/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 48 issues. Showing the first 2:

INFO: Don't invoke 'print' in production code.

bin/setup.dart:4:3

  ╷
4 │   print('\n🔥 Firebase Messaging Handler: Setup Doctor 🔥\n');
  │   ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/setup.dart

INFO: Don't invoke 'print' in production code.

bin/setup.dart:5:3

  ╷
5 │   print('Running diagnostics to ensure your project is ready for "Epic" notifications...\n');
  │   ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/setup.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
firebase_messaging >=16.0.0 <17.0.0 16.1.0 16.1.0
flutter_local_notifications >=17.0.0 <18.0.0 17.2.4 19.5.0
flutter_widget_from_html_core >=0.15.0 <1.0.0 0.17.0 0.17.0
shared_preferences >=2.0.0 <3.0.0 2.5.4 2.5.4
timezone >=0.9.0 <1.0.0 0.9.4 0.10.1
universal_html >=2.0.0 <3.0.0 2.3.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.65 1.3.65
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
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
flutter_local_notifications_linux - 4.0.1 6.0.0
flutter_local_notifications_platform_interface - 7.2.0 9.1.0
html - 0.15.6 0.15.6
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
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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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_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.8
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `>=17.0.0 <18.0.0` on flutter_local_notifications does not support the stable version `18.0.0`.

Try running dart pub upgrade --major-versions flutter_local_notifications to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
130
points
151
downloads

Publisher

verified publisherqoder.in

Weekly Downloads

Flutter FCM superpack: unified click stream (FG/BG/terminated), auto-initial handling, data-only bridge, inbox, in-app UX, badges, sounds, and web polish.

Topics

#fcm #firebase-messaging #push-notifications #unified-handler #in-app-messaging

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_messaging, flutter, flutter_local_notifications, flutter_web_plugins, flutter_widget_from_html_core, shared_preferences, timezone, universal_html

More

Packages that depend on firebase_messaging_handler

Packages that implement firebase_messaging_handler