screen_launch_by_notfication 2.0.0
screen_launch_by_notfication: ^2.0.0 copied to clipboard
A Flutter plugin to detect if the app was launched by tapping a notification and retrieve notification payload, enabling splash screen bypass and direct routing to notification screens.
2.0.0 #
- 🎉 Major API Update:
SwiftFlutterMaterialnow acceptsMaterialApporGetMaterialAppinstances - ✨ Zero Native Setup: Plugin now handles all native code automatically - no need to modify MainActivity or AppDelegate
- 🚀 GetMaterialApp Support: Full support for GetX navigation with
GetMaterialApp - 🎯 Simplified API: Pass your existing
MaterialApporGetMaterialAppwidget - all routing properties are automatically managed - 🔧 Better Integration: Works seamlessly with your existing app structure without code duplication
- 📦 Self-Contained Plugin: All native implementation moved to plugin itself - works for all projects out of the box
- 🎨 Flexible Configuration: Use
onNotificationLaunchcallback to customize routing based on notification status and payload - Learn more: https://swiftflutter.com/dynamicnotification
1.1.0 #
- Added
SwiftFlutterMaterialwidget for automatic notification-based routing - Enhanced back navigation handling - navigates to home route instead of exiting app
- Added
homeRouteparameter for custom back navigation destination - Added
routesWithPayloadfor routes that need access to notification payload - Improved iOS compatibility (iOS 13+ support)
- Better error handling and fallback mechanisms
- Learn more: https://swiftflutter.com/dynamicnotification
1.0.0 #
- Initial release
- Detect if app was launched by tapping a notification
- Retrieve notification payload (works with flutter_local_notifications)
- Skip splash screens when opened from notification
- Support for Android and iOS
- Store notification payload for later retrieval