flutter_notifyhub 1.0.0 copy "flutter_notifyhub: ^1.0.0" to clipboard
flutter_notifyhub: ^1.0.0 copied to clipboard

A powerful and secure Flutter package for handling Firebase Cloud Messaging (FCM) notifications with advanced features like encryption, batch sending, and seamless integration. Developed by AlwariDev.

Changelog #

All notable changes to the Flutter NotifyHub package will be documented in this file.

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

1.0.0 - 2024-10-06 #

Added #

  • πŸš€ Initial Release - Complete Flutter NotifyHub package for Firebase notifications
  • πŸ” Secure Encryption - AES-256-CBC encryption for Firebase service account credentials
  • 🏭 Singleton Pattern - Factory pattern implementation ensuring single instance management
  • πŸ“± Cross-Platform Support - Full compatibility with Android and iOS platforms
  • βœ… Input Validation - Comprehensive validation for FCM tokens and notification content
  • πŸ“¦ Batch Notifications - Efficient sending of multiple notifications to different devices
  • 🎯 Topic Management - Subscribe and unsubscribe from Firebase notification topics
  • πŸ₯ Health Monitoring - Backend service health checks and diagnostics
  • πŸ”„ Token Management - Automatic FCM token refresh handling with callbacks
  • πŸ“Š Detailed Logging - Comprehensive success and error reporting with timestamps
  • πŸ›‘οΈ Error Handling - Robust error handling with detailed error messages
  • πŸ“ Rich Documentation - Complete API documentation with examples and best practices
  • πŸ§ͺ Example App - Full-featured example application demonstrating all features
  • πŸ”— Deep Linking Support - Custom data payload support for app navigation
  • 🌍 HTTPS Security - All communications secured with HTTPS protocol

Technical Features #

  • Encryption Service: Secure AES-256-CBC encryption for sensitive data
  • Firebase Manager: Complete Firebase Cloud Messaging integration
  • Notification Handler: Advanced notification processing and delivery
  • Model Classes: Type-safe data models for requests and responses
  • Validation Engine: Multi-layer validation for tokens and content
  • Background Processing: Support for background notification handling

Platform Support #

  • Android: Minimum SDK 23, optimized for Android 13+ notification permissions
  • iOS: Full support with background processing capabilities
  • Flutter: Compatible with Flutter 3.0+ and Dart 3.8+

Dependencies #

  • firebase_core: ^2.24.2 - Firebase core functionality
  • firebase_messaging: ^14.7.10 - Firebase Cloud Messaging
  • http: ^1.2.0 - HTTP client for API communication
  • crypto: ^3.0.3 - Cryptographic operations
  • encrypt: ^5.0.3 - Advanced encryption capabilities

Developer Information #

Package Features #

  • Zero configuration setup with pre-configured backend
  • Type-safe API with comprehensive error handling
  • Built-in security with encrypted data transmission
  • Performance optimized for high-volume notifications
  • Memory efficient singleton implementation
  • Extensive documentation and examples
  • Community support and regular updates
  • Batch notification sending capability
  • Health check functionality for backend service monitoring
  • Comprehensive error handling and validation
  • Complete test suite with unit tests
  • Detailed documentation and usage examples

Features #

  • AlwariDevNotificationService main service class with singleton pattern
  • EncryptionService for secure service account encryption/decryption
  • NotificationResponse and HealthResponse models
  • FCM token validation (50-1000 characters)
  • Notification content validation (title: 1-100 chars, body: 1-1000 chars)
  • HTTP client integration with proper error handling
  • Backend health monitoring

Security #

  • AES-256-CBC encryption for Firebase service account JSON
  • Secret key based encryption/decryption
  • No plain text storage of sensitive data
  • HTTPS communication with backend service

Developer Experience #

  • Comprehensive documentation with examples
  • Type-safe API with proper error handling
  • Easy initialization and usage
  • Support for both single and batch notifications
  • Built-in validation methods
1
likes
0
points
139
downloads

Publisher

verified publisheralwaridev.tech

Weekly Downloads

A powerful and secure Flutter package for handling Firebase Cloud Messaging (FCM) notifications with advanced features like encryption, batch sending, and seamless integration. Developed by AlwariDev.

Homepage
Repository (GitHub)
View/report issues

Topics

#firebase #notifications #fcm #firebase-notifications #messaging

Documentation

Documentation

License

unknown (license)

Dependencies

crypto, encrypt, firebase_core, firebase_messaging, flutter, http

More

Packages that depend on flutter_notifyhub