rspl_network_manager 0.0.2 copy "rspl_network_manager: ^0.0.2" to clipboard
rspl_network_manager: ^0.0.2 copied to clipboard

A Flutter plugin that simplifies networking with configurable logging, token persistence, mock API support, automatic token refresh, connectivity checks, and proxy configuration.

Changelog #

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.2 — 2025-12-05 #

Added #

  • TokenRefreshFailedException with categorized failure reasons:
    refreshTokenExpired, networkError, serverError, noRefreshToken, unknown.
  • Expanded test suite (119 tests; 89.6% coverage).
  • macOS network client support in the example application.

Changed #

  • Platform Support: Dropped Linux and Windows; now supports Android, iOS, macOS, Web.
  • Simplified example app to focus on JWT token refresh workflow.
  • Improved documentation for ITokenRefresher, including exception-handling examples.
  • Updated example app to highlight token refresh patterns and error handling.
  • Enhanced README with detailed usage guides for token management and interceptors.

Fixed #

  • Improved error handling logic in the token refresh flow.

0.0.1 — 2024-12-02 #

Added #

  • Initial release of rspl_network_manager.
  • Secure token persistence.
  • Automatic token injection for outgoing requests.
  • Token refresh and retry mechanism.
  • Internet connectivity detection.
  • Proxy configuration support.
  • Configurable logging.
  • Mock API support for testing.
8
likes
150
points
185
downloads

Publisher

verified publisherrishabhsoft.com

Weekly Downloads

A Flutter plugin that simplifies networking with configurable logging, token persistence, mock API support, automatic token refresh, connectivity checks, and proxy configuration.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, dio_smart_retry, flutter, flutter_secure_storage

More

Packages that depend on rspl_network_manager