notification_sync_kit 0.1.0 copy "notification_sync_kit: ^0.1.0" to clipboard
notification_sync_kit: ^0.1.0 copied to clipboard

PlatformAndroid

Capture Android notifications, persist them to a local queue, and sync them to your server via HTTP with Bearer token auth and automatic retry.

Changelog #

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

The format follows Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 — 2026-05-12 #

Added #

  • NotificationRecord model with full JSON serialization (toJson, fromJson, encodeList, decodeList) and a fromServiceEvent factory.
  • NotificationListenerController — wraps notification_listener_service and exposes incoming notifications as a typed Stream<NotificationRecord>.
  • NotificationQueueStoreSharedPreferences-backed persistent queue with add, readAll, count, removeById, and removeByIds.
  • NotificationUploader — HTTP POST with optional Bearer token auth, configurable endpoint, and graceful error handling.
  • NotificationSyncManager — periodic (default 30 s) flush of queued records with automatic removal of successfully uploaded entries and retry of failures.
  • NotificationDetailPage — optional Flutter widget to display a single NotificationRecord with normalized and raw JSON views.
  • Barrel export at lib/notification_sync_kit.dart for a single import.
  • Example app in example/ demonstrating instant-upload + queue-fallback flow.
0
likes
160
points
114
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Capture Android notifications, persist them to a local queue, and sync them to your server via HTTP with Bearer token auth and automatic retry.

Repository (GitHub)
View/report issues

Topics

#notifications #android #background-service #http #sync

License

MIT (license)

Dependencies

flutter, http, notification_listener_service, shared_preferences

More

Packages that depend on notification_sync_kit