The huawei_push_fcm package is a Flutter plugin that acts as a proxy between Firebase Cloud Messaging (FCM) and Huawei Push Kit, enabling Android apps to receive push notifications on Huawei devices. It exposes all functionalities of the Huawei Push-FCM Proxy SDK, allowing developers to use FCM-compatible code while routing messages through Huawei's push infrastructure. This ensures seamless notification delivery on Huawei devices without requiring major code changes.
Use cases
- Sending push notifications to Huawei Android devices
- Integrating FCM-based apps with Huawei push services
- Maintaining unified notification logic across platforms
- Enabling push messaging in regions with limited Google Play Services
Key features
- FCM-compatible API interface
- Supports background and foreground message handling
- Automatic token registration and management
- Cross-platform compatibility with Flutter
- Secure message delivery via Huawei Push Kit
Suitable for
- Flutter apps targeting Huawei devices
- Developers using FCM but needing Huawei support
- Apps requiring reliable push delivery in China or other Huawei-dominant markets
Considerations
- Requires Huawei Mobile Services (HMS) on target devices
- Limited to Android platform only
- Needs proper configuration of HMS Core and app signing keys
- Dependent on Huawei Push-FCM Proxy SDK version stability