Overview
The huawei_push package is a Flutter plugin that provides full access to the Huawei Push Kit SDK, enabling developers to integrate push notifications into Android apps. It supports message reception, token management, and subscription handling, ensuring seamless communication with Huawei's push infrastructure. The plugin is designed for apps targeting the Huawei ecosystem, offering reliable delivery and real-time updates. It integrates smoothly with Flutter projects using standard pub commands.
Use cases
- Sending targeted push notifications
- Receiving real-time messages on Android
- Managing user device tokens
- Integrating with Huawei AppGallery
- Enabling app engagement via push
- Supporting offline message delivery
Key features
- Full Huawei Push Kit SDK integration
- Token registration and management
- Message payload handling
- Cross-platform Android support
- Easy setup via Flutter pub
- Real-time notification delivery
Suitable for
- Flutter apps on Huawei devices
- Developers targeting Huawei AppGallery
- Apps requiring reliable push messaging
- Android-only applications
- Notification-driven user engagement
- Huawei ecosystem integration
Considerations
- Requires Huawei Mobile Services (HMS) on target devices
- Limited to Android platform
- Needs HMS Core installation
- App must be registered in Huawei Developer Console
- May require additional configuration for background messages
- Not compatible with non-Huawei Android devices