notificationapi_flutter_sdk 1.0.0
notificationapi_flutter_sdk: ^1.0.0 copied to clipboard
A Flutter plugin for integrating NotificationAPI push notifications into your mobile app.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 - 2024-12-20 #
Added #
- 🚀 One-line setup - Single
NotificationAPI.setup()call replaces complex multi-step initialization - 🔔 Automatic native notifications - Built-in foreground notification display with
flutter_local_notifications - 📱 Cross-platform support - Full iOS and Android compatibility
- 🌙 Background notification handling - Complete support for notifications when app is closed/terminated
- 🔐 Automatic permission management - Optional auto-request of push notification permissions
- 🎯 Deep linking support - Handle navigation when notifications are tapped
- 💾 User persistence - Automatic user data storage across app launches
- 🔄 Token management - Automatic FCM token retrieval and backend synchronization
- 🛡️ Graceful error handling - No thrown exceptions, returns safe defaults
- 📊 Real-time streams - Listen to foreground and tap events with reactive streams
Features #
- Simplified API replacing complex client/service architecture
- Firebase Messaging integration
- Local notification display in foreground
- SharedPreferences-based user persistence
- HTTP-based backend communication
- Comprehensive example app
- Detailed documentation with setup guides
Dependencies #
firebase_messaging: ^14.7.9firebase_core: ^2.24.2flutter_local_notifications: ^17.2.2http: ^1.1.0shared_preferences: ^2.2.2
Platform Support #
- Flutter: >=3.0.0
- Dart: >=3.0.0 <4.0.0
- iOS: iOS 10.0+
- Android: API level 21+ (Android 5.0)