Skip to main content

live_api_notification 1.1.0 copy "live_api_notification: ^1.1.0" to clipboard
live_api_notification: ^1.1.0 copied to clipboard

An intelligent, zero-boilerplate Flutter overlay notification package with automatic REST API and WebSocket payload parsing, context-free triggers, and smooth animations.

Changelog #

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

1.1.0 Offline Mode & Production Enhancements #

Added #

  • Offline Mode — Automatic request queuing with Hive persistence when network is unavailable.
  • Exponential Backoff Retry — Configurable retry logic (1s, 2s, 4s, 8s... up to 60s cap) with max retry limits.
  • Connectivity Sync — Auto-sync queue when connectivity restored via connectivity_plus.
  • Offline-Aware API Calls — LiveNotification.callApiWithOffline() executes requests and auto-queues on failure.
  • Queue Management — getOfflineQueue(), syncOfflineQueue(), clearOfflineQueue(), removeOfflineQueueItem().
  • Real-time Queue Updates — setOfflineQueueChangedCallback() for UI binding.
  • Offline Configuration — LiveNotificationOfflineConfig with full customization (notifications, queue size, persistence).

Changed #

  • Updated repository URLs to https://github.com/samir23bogati/live_api_notification.
  • Author links: Er. Samir Bogati → https://www.samirbogati.com.np/, BogatiX → https://github.com/samir23bogati.

Dependencies #

  • Added hive, hive_flutter, connectivity_plus, http for offline functionality.

1.0.0 Initial Production Release #

Added #

  • Context-free overlay triggers via LiveNotification.init(navigatorKey: ...).
  • Universal payload parsing via fromApi and fromSocket supporting status codes, standard JSON keys, nested maps, and validation error arrays.
  • Configurable positioning: LiveNotificationPosition.top and LiveNotificationPosition.bottom.
  • Full theme configuration via LiveNotificationConfig (colors, borders, blur, icons, margins).
  • Interactive action buttons and pills with callback support.
  • Swipe-to-dismiss gestures with smooth vertical slide and fade animations.
  • Safe controller management preventing ticker leaks during rapid notifications.
  • Comprehensive unit and widget tests.
4
likes
130
points
82
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An intelligent, zero-boilerplate Flutter overlay notification package with automatic REST API and WebSocket payload parsing, context-free triggers, and smooth animations.

Repository (GitHub)
View/report issues

Topics

#ui #toast #notification #api #overlay

Funding

Consider supporting this project:

www.patreon.com

License

MIT (license)

Dependencies

connectivity_plus, flutter, hive, hive_flutter, http

More

Packages that depend on live_api_notification