Search packages, repositories and app categories

Package detailsv1.1.1

push_notification

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

AndroidiOS
30-day downloads
45
Likes
59
Pub points
120

Install package

flutter pub add push_notification

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter/Dart package for implementing push notifications on Android and iOS. It provides a unified interface to handle registration, receiving, and managing push notifications, enabling seamless integration with backend services. The library simplifies the process of working with platform-specific notification systems, ensuring consistent behavior across devices. Designed for developers aiming to enhance app engagement through timely, targeted messages.

Use cases

  • Sending real-time alerts
  • User engagement via notifications
  • App state synchronization
  • Background message handling
  • Remote notification triggers

Key features

  • Cross-platform support (Android & iOS)
  • Easy integration with Firebase or other backends
  • Event-driven notification handling
  • Support for foreground and background states
  • Customizable notification payloads

Suitable for

  • Apps requiring real-time updates
  • Mobile apps with user engagement goals
  • Backend-integrated messaging systems
  • Developers using Firebase Cloud Messaging
  • Teams building scalable notification workflows

Considerations

  • Requires platform-specific setup (e.g., FCM configuration)
  • Needs proper permission handling
  • Background execution limitations on some platforms
  • May require additional configuration for custom notification channels
  • Dependent on external push service providers

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Push Notification

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

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.