smart_firebase_fcm 1.0.10 copy "smart_firebase_fcm: ^1.0.10" to clipboard
smart_firebase_fcm: ^1.0.10 copied to clipboard

A plug-and-play modular Firebase FCM package with local notifications, redirection, and manual feature toggles (analytics, crashlytics, etc.).

135/ 160
pub points
332
downloads

We analyzed this package 1 hour ago, and awarded it 135 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.10").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

176 out of 204 API elements (86.3 %) have documentation comments.

Some symbols that are missing documentation: smart_firebase_fcm, smart_firebase_fcm.AndroidNotification.AndroidNotification.new, smart_firebase_fcm.AndroidNotification.link, smart_firebase_fcm.AppleNotification.AppleNotification.new, smart_firebase_fcm.AppleNotificationSound.AppleNotificationSound.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:firebase_messaging/firebase_messaging.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:firebase_core/firebase_core.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:smart_firebase_fcm/src/local_notification_service.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:smart_firebase_fcm/src/local_notification_service.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:smart_firebase_fcm/src/local_notification_service.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:smart_firebase_fcm/src/local_notification_service.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:smart_firebase_fcm/smart_firebase_fcm.dart that imports:
  • package:smart_firebase_fcm/src/local_notification_service.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.

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 57 issues. Showing the first 2:

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

lib/src/fcm_initializer.dart:14:3

   ╷
14 │   print('🔕 Background message received: ${message.messageId}');
   │   ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fcm_initializer.dart

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

lib/src/fcm_initializer.dart:60:11

   ╷
60 │           print('⚠️ Failed to parse tapped payload: $payload\nError: $e');
   │           ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fcm_initializer.dart

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

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

Package Constraint Compatible Latest Notes
firebase_analytics ^12.0.2 12.0.3 12.0.3
firebase_core ^4.1.1 4.2.0 4.2.0
firebase_crashlytics ^5.0.2 5.0.3 5.0.3
firebase_messaging ^16.0.2 16.0.3 16.0.3
flutter_local_notifications ^19.4.2 19.5.0 19.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.63 1.3.63
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
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
dbus - 0.7.11 0.7.11
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
firebase_analytics_platform_interface - 5.0.3 5.0.3
firebase_analytics_web - 0.6.0+3 0.6.0+3
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 3.2.0 3.2.0
firebase_crashlytics_platform_interface - 3.8.14 3.8.14
firebase_messaging_platform_interface - 4.7.3 4.7.3
firebase_messaging_web - 4.0.3 4.0.3
flutter_local_notifications_linux - 6.0.0 6.0.0
flutter_local_notifications_platform_interface - 9.1.0 9.1.0
flutter_local_notifications_windows - 1.0.3 1.0.3
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.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
petitparser - 7.0.1 7.0.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
timezone - 0.10.1 0.10.1
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
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.

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.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
135
points
332
downloads

Publisher

verified publisherquantumeye.in

Weekly Downloads

A plug-and-play modular Firebase FCM package with local notifications, redirection, and manual feature toggles (analytics, crashlytics, etc.).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

firebase_analytics, firebase_core, firebase_crashlytics, firebase_messaging, flutter, flutter_local_notifications

More

Packages that depend on smart_firebase_fcm