FLUTTER ECOSYSTEM

surfstudio/flutter-push-notification

Surf 에 의해 제작됨 🏄

flutter-push-notification 프로젝트 이미지
Stars
27
Forks
5
최근 푸시(UTC)
2024. 4. 17.
프로젝트 상태
활성
Surf GitHub avatar
GITHUB Organization

Surf ↗

United States of America공식 웹사이트 ↗
언어DartKotlinSwiftRubyJavaScriptObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 5 개
  • flutter{"sdk":"flutter"}
  • rxdart^0.27.0
  • flutter_test개발 의존성{"sdk":"flutter"}
  • mocktail개발 의존성^0.1.2
  • surf_lint_rules개발 의존성^3.0.0

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Push Notification

https://raw.githubusercontent.com/surfstudio/flutter-open-source/main/assets/logo_black.png#gh-light-mode-only https://raw.githubusercontent.com/surfstudio/flutter-open-source/main/assets/logo_white.png#gh-dark-mode-only

Build Status Coverage Status Pub Version Pub Likes Pub popularity Flutter Platform

Overview

Library for implementing push notifications. The module contains the main work with push notifications.

Example

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.

Installation

Add push_notification to your pubspec.yaml file:

dependencies:
  push_notification: $currentVersion$

At this moment, the current version of push_notification is push_notification version.

Changelog

All notable changes to this project will be documented in this file.

Issues

To report your issues, file directly in the Issues section.

Contribute

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.

How to reach us

Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.

Telegram

License

Apache License, Version 2.0