fz_hms_push_kit 0.0.2 copy "fz_hms_push_kit: ^0.0.2" to clipboard
fz_hms_push_kit: ^0.0.2 copied to clipboard

PlatformAndroid

A Flutter package for handling Huawei Mobile Services (HMS) Push Kit — token retrieval, foreground/background message handling, notification tap events, and a server-side helper to obtain OAuth2 acces [...]

130/ 160
pub points
68
downloads

We analyzed this package 5 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

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.

Funding URL doesn't exist.

At the time of the analysis https://buymeacoffee.com/your-org was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

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

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

OUT: Documenting fz_hms_push_kit... Discovering libraries... Linking elements... Precaching local docs for 1246316 elements... Initialized dartdoc with 1209 libraries Generating docs for library fz_hms_push_kit.dart from package:fz_hms_push_kit/fz_hms_push_kit.dart... Generating docs for library hms_push_kit.dart from package:fz_hms_push_kit/hms_push_kit.dart... Documented 2 public libraries in 46.7 seconds ERR: warning: ambiguous reexport of hms_notification.HmsNotification, canonicalization candidates: (fz_hms_push_kit, fz_hms_push_kit) -> fz_hms_push_kit (confidence 0.000) from hms_notification.HmsNotification: (file:///tmp/pana_PWDVAX/lib/src/models/hms_notification.dart:15:7) fz_hms_push_kit: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) fz_hms_push_kit: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor hms_notification.HmsNotification} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [84 more lines]

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:fz_hms_push_kit/fz_hms_push_kit.dart that imports:
  • package:huawei_push/huawei_push.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:fz_hms_push_kit/fz_hms_push_kit.dart that imports:
  • package:huawei_push/huawei_push.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:fz_hms_push_kit/fz_hms_push_kit.dart that imports:
  • package:huawei_push/huawei_push.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:fz_hms_push_kit/fz_hms_push_kit.dart that imports:
  • package:huawei_push/huawei_push.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:fz_hms_push_kit/fz_hms_push_kit.dart that imports:
  • package:huawei_push/huawei_push.dart that declares support for platforms: Android.
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
http ^1.2.0 1.6.0 1.6.0
huawei_push ^6.11.0+302 6.15.0+300 6.15.0+300
rxdart ^0.27.7 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
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
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1

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

The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for handling Huawei Mobile Services (HMS) Push Kit — token retrieval, foreground/background message handling, notification tap events, and a server-side helper to obtain OAuth2 access tokens and send push notifications via the Huawei Push REST API.

Repository (GitHub)
View/report issues

Topics

#push-notifications #huawei #hms #notifications #push-kit

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

flutter, http, huawei_push, rxdart

More

Packages that depend on fz_hms_push_kit