搜索插件、代码仓与 APP 分类

插件详情v6.3.0+305

huawei_push_fcm

适用于 Flutter 的华为推送 - FCM 代理插件,可提供华为推送 - FCM 代理 SDK 所提供的所有功能。

Android
近 30 天下载
2
喜欢数
5
Pub 分数
160

安装插件

flutter pub add huawei_push_fcm

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

huawei_push_fcm 包是一个 Flutter 插件,作为 Firebase Cloud Messaging (FCM) 和华为推送服务之间的代理,使 Android 应用能够在华为设备上接收推送通知。它公开了华为推送-FCM 代理 SDK 的所有功能,允许开发者使用 FCM 兼容的代码,同时通过华为的推送基础设施路由消息。这确保了在华为设备上无缝传递通知,而无需进行重大代码更改。

适合场景

  • 向华为安卓设备发送推送通知
  • 将基于 FCM 的应用与华为推送服务集成
  • 跨平台保持统一的通知逻辑
  • 在 Google Play 服务有限的地区启用推送消息

主要特点

  • FCM 兼容 API 接口
  • 支持背景和前台消息处理
  • 自动令牌注册和管理
  • 跨平台兼容性与 Flutter
  • 通过华为推送服务实现安全消息传递

适合对象

  • 针对华为设备的Flutter应用
  • 使用 FCM 但需要华为支持的开发者
  • 在中国或其他华为主导的市场中需要可靠推送交付的应用

使用建议

  • 目标设备上需要华为移动服务(HMS)
  • 仅限 Android 平台
  • 需要正确配置 HMS Core 和应用签名密钥
  • 依赖于华为推送-FCM代理SDK版本的稳定性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

HMS Flutter Plugins

license

This repo contains the source code for HMS Flutter first-party plugins, which are developed by the HMS Core team.

These plugins enable access to using kit-specific APIs. For more information about plugins, and how to use them, see Official Documentations.

Plugins

These are the available plugins in this repository.

Plugin Version Documentation Demo Project
Account version Getting Started
API Reference
example
Ads version Getting Started
API Reference
example
Ads Prime version Getting Started
API Reference
example
Analytics version Getting Started
API Reference
example
AR Engine version Getting Started
API Reference
example
HMS Availability version Getting Started
API Reference
example
Awareness version Getting Started
API Reference
example
Contact Shield version Getting Started
API Reference
example
Drive version Getting Started
API Reference
example
Dynamic Tag Manager version Getting Started
API Reference
example
FIDO version Getting Started
API Reference
example
Game Service version Getting Started
API Reference
example
Health version Getting Started
API Reference
example
In-App Purchases version Getting Started
API Reference
example
Location version Getting Started
API Reference
example
Map version Getting Started
API Reference
example
ML version Getting Started
API Reference
example
ML Body version Getting Started
API Reference
example
ML Image version Getting Started
API Reference
example
ML Language version Getting Started
API Reference
example
ML Text version Getting Started
API Reference
example
3D Modeling version Getting Started
API Reference
example
Nearby Service version Getting Started
API Reference
example
Push version Getting Started
API Reference
example
Push-FCM version Getting Started
API Reference
example
Safety Detect version Getting Started
API Reference
example
Scan version Getting Started
API Reference
example
Site version Getting Started
API Reference
example
Wallet version Getting Started
API Reference
example

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。