firebase_cloud_messaging_dart 3.0.1 copy "firebase_cloud_messaging_dart: ^3.0.1" to clipboard
firebase_cloud_messaging_dart: ^3.0.1 copied to clipboard

A pure Dart library for sending Firebase Cloud Messages and managing topics using the FCM HTTP v1 API. Perfect for server-side environments like Serverpod. Includes native Google Application Default [...]

140/ 160
pub points
131
downloads

We analyzed this package 2 days ago, and awarded it 140 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

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.

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

212 out of 283 API elements (74.9 %) have documentation comments.

Some symbols that are missing documentation: firebase_cloud_messaging_dart.ApnsAlert.ApnsAlert.fromJson, firebase_cloud_messaging_dart.ApnsAlert.ApnsAlert.new, firebase_cloud_messaging_dart.ApnsAlert.toJson, firebase_cloud_messaging_dart.ApnsFcmOptions.ApnsFcmOptions.fromJson, firebase_cloud_messaging_dart.ApnsFcmOptions.ApnsFcmOptions.new.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:firebase_cloud_messaging_dart/firebase_cloud_messaging_dart.dart that imports:
  • package:firebase_cloud_messaging_dart/src/firebase_cloud_messaging_server.dart that imports:
  • package:googleapis_auth/auth_io.dart that imports:
  • package:googleapis_auth/src/oauth2_flows/authorization_code_grant_server_flow.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

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
collection ^1.18.0 1.19.1 1.19.1
googleapis_auth ^1.6.0 1.6.0 2.3.0
http ^1.2.2 1.6.0 1.6.0
json_annotation ^4.9.0 4.11.0 4.11.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
crypto - 3.0.7 3.0.7
google_identity_services_web - 0.3.3+1 0.3.3+1
http_parser - 4.1.2 4.1.2
meta - 1.18.2 1.18.2
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

The constraint `^1.6.0` on googleapis_auth does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions googleapis_auth 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.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
131
downloads

Documentation

API reference

Publisher

verified publisherottomancoder.com

Weekly Downloads

A pure Dart library for sending Firebase Cloud Messages and managing topics using the FCM HTTP v1 API. Perfect for server-side environments like Serverpod. Includes native Google Application Default Credentials (ADC) support.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

collection, googleapis_auth, http, json_annotation

More

Packages that depend on firebase_cloud_messaging_dart