screen_launch_by_notfication 2.3.2 copy "screen_launch_by_notfication: ^2.3.2" to clipboard
screen_launch_by_notfication: ^2.3.2 copied to clipboard

A Flutter plugin to detect if the app was launched by tapping a notification or deep link, retrieve notification payload, and enable automatic routing. Supports both notification launches and custom d [...]

2.3.2 #

  • Buy Me a Coffee Support: Added beautiful Buy Me a Coffee button and support section in example app
  • Enhanced Example UI: Improved notification screen with support section encouraging contributions
  • 📚 Updated Documentation: Added "Support the Project" section in README with Buy Me a Coffee link
  • 🎨 Beautiful Widget: Created reusable BuyMeCoffeeButton widget with modern gradient design
  • 💝 Better Developer Experience: Encourages community support for continued plugin development
  • Learn more: https://swiftflutter.com/dynamicnotification

2.3.1 #

  • 🐛 Critical Bug Fix: Fixed notification state persistence issue when app is closed after tapping notification
  • 🔧 Android Fix: Notification state no longer persists in SharedPreferences when notification is tapped while app is running
  • 🔧 iOS Fix: Notification state no longer persists in UserDefaults when notification is tapped while app is running
  • Improved Behavior: App restart after closing app no longer incorrectly navigates to notification screen
  • 📝 Technical Details: Notification state is now only stored persistently for initial app launches, not when app is already running
  • Learn more: https://swiftflutter.com/dynamicnotification

2.3.0 #

  • 🔗 Deep Link Support: Full support for custom URL schemes and universal links
  • 🎯 Automatic Deep Link Handling: Deep links automatically handled in both cold and warm states
  • 📦 Zero Native Code: All deep link handling done in plugin - just configure AndroidManifest.xml and Info.plist
  • onDeepLink Callback: New callback for custom deep link routing logic
  • 🚀 Deep Link Parser: Automatic URL parsing with route extraction and query parameter handling
  • 🔧 Improved Route Handling: Better route validation and fallback mechanisms
  • 📝 Enhanced Documentation: Comprehensive deep linking examples and setup guides
  • 🐛 Bug Fixes: Fixed route parsing for custom schemes, improved cold state handling
  • Learn more: https://swiftflutter.com/dynamicnotification

2.2.0 #

  • 🎯 SwiftRouting Class: New SwiftRouting class for type-safe routing with route and payload
  • 📦 Nullable Payload Support: Payload in SwiftRouting is now optional - you can pass null if no data is needed
  • 🔧 Improved API: onNotificationLaunch callback now returns SwiftRouting? instead of a map for better type safety
  • Better Developer Experience: Cleaner API with SwiftRouting(route: '/path', payload: {...}) syntax
  • 📝 Updated Examples: Example app updated to demonstrate new SwiftRouting API
  • Learn more: https://swiftflutter.com/dynamicnotification

2.1.0 #

  • 🎯 Dynamic Notification Routing: onNotificationLaunch callback now works for both initial launch AND notification taps while app is running
  • 🔄 Real-time Navigation: Automatically navigates to appropriate screen when notification is tapped while app is open (foreground/background)
  • 📱 Event Stream Support: Added getNotificationStream() method to listen for notification taps in real-time
  • 🎨 Enhanced Callback: onNotificationTap callback for custom handling of notification taps while app is running
  • 🚀 Improved Navigation: Better navigator handling with retry logic and support for both MaterialApp and GetMaterialApp
  • 📦 Better Example: Reorganized example app with multiple screens and dynamic routing based on notification payload
  • Learn more: https://swiftflutter.com/dynamicnotification

2.0.0 #

  • 🎉 Major API Update: SwiftFlutterMaterial now accepts MaterialApp or GetMaterialApp instances
  • 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 MaterialApp or GetMaterialApp widget - 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 onNotificationLaunch callback to customize routing based on notification status and payload
  • Learn more: https://swiftflutter.com/dynamicnotification

1.1.0 #

  • Added SwiftFlutterMaterial widget for automatic notification-based routing
  • Enhanced back navigation handling - navigates to home route instead of exiting app
  • Added homeRoute parameter for custom back navigation destination
  • Added routesWithPayload for 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
27
likes
140
points
392
downloads

Publisher

verified publisherswiftflutter.com

Weekly Downloads

A Flutter plugin to detect if the app was launched by tapping a notification or deep link, retrieve notification payload, and enable automatic routing. Supports both notification launches and custom deep links with zero native code setup.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get, plugin_platform_interface

More

Packages that depend on screen_launch_by_notfication

Packages that implement screen_launch_by_notfication