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 [...]

0.0.2 #

  • Added onBackgroundMessage parameter to initialize() for custom background message handling.
  • Re-exported RemoteMessage from huawei_push for convenience.
  • Fixed screenshots not rendering on pub.dev (using absolute GitHub URLs).
  • Fixed GitHub repository URLs in pubspec.yaml.
  • Improved error handling: HMS initialization no longer crashes if agconnect-services.json is missing.
  • Updated README documentation with clearer usage examples.

0.0.1 #

  • Initial release.
  • HmsNotificationServiceImpl — client-side token retrieval and notification handling.
  • HmsAuthClient — OAuth2 access token fetching with in-memory caching.
  • HmsPushClient — Send push notifications via the Huawei Push REST API with auto token refresh.
  • Models: HmsNotification, HmsPushResult, HmsTokenResponse.
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