huawei_push 5.0.2+301 copy "huawei_push: ^5.0.2+301" to clipboard
huawei_push: ^5.0.2+301 copied to clipboard

outdated

HUAWEI Push Kit plugin for Flutter that exposes all the functionality provided by the HUAWEI Push Kit SDK.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add huawei_push

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  huawei_push: ^5.0.2+301

Alternatively, 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/constants/Channel.dart';
import 'package:huawei_push/constants/Code.dart';
import 'package:huawei_push/constants/Method.dart';
import 'package:huawei_push/local_notification/attributes.dart';
import 'package:huawei_push/local_notification/importance.dart';
import 'package:huawei_push/local_notification/local_notification.dart';
import 'package:huawei_push/local_notification/priority.dart';
import 'package:huawei_push/local_notification/repeat_type.dart';
import 'package:huawei_push/local_notification/visibility.dart';
import 'package:huawei_push/model/remote_message.dart';
import 'package:huawei_push/push.dart';
80
likes
0
pub points
96%
popularity

Publisher

verified publisherdeveloper.huawei.com

HUAWEI Push Kit plugin for Flutter that exposes all the functionality provided by the HUAWEI Push Kit SDK.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on huawei_push