huawei_push_plus 1.0.0
huawei_push_plus: ^1.0.0 copied to clipboard
华为推送服务的Flutter插件,专为华为设备设计,提供完整的HMS Push Kit集成,包括原生Badge功能。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add huawei_push_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
huawei_push_plus: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:huawei_push_plus/huawei_push.dart';
import 'package:huawei_push_plus/huawei_push_method_channel.dart';
import 'package:huawei_push_plus/huawei_push_platform_interface.dart';