push_notification
用于实现推送通知的库。该模块包含推送通知的主要工作。
由 Surf 制作 🏄
以下为英文项目原文快照,最新内容请访问 GitHub。
Library for implementing push notifications. The module contains the main work with push notifications.
An example of using the library can be found in example.
Create a notification data type through inheritance NotificationPayload.
Create a strategy for handling notifications through inheritance PushHandleStrategy.
Create a factory of strategies through inheritance PushHandleStrategyFactory.
To receive notifications, you need to create an instance. MessagingService.
To display notifications, you need to create an instance NotificationController.
And pass created instances when creating PushHandler that will create the strategy using the factory.
Add push_notification to your pubspec.yaml file:
dependencies:
push_notification: $currentVersion$
At this moment, the current version of push_notification is .
All notable changes to this project will be documented in this file.
To report your issues, file directly in the Issues section.
If you would like to contribute to the package (e.g. by improving the documentation, fixing a bug or adding a cool new feature), please read our contribution guide first and send us your pull request.
Your PRs are always welcome.
Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.
依赖清单 5 项
{"sdk":"flutter"}^0.27.0{"sdk":"flutter"}^0.1.2^3.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗