-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flutter_local_notifications] expose NotificationAppLaunchDetails fro…
…m main plugin again and add default behaviour when running on neither Android or iOS (#455) * Fix exposing NotificationAppLaunchDetails via main plugin and make methods a no-op on platforms other than Android and iOS * add null propagation when running on environment where platform is neither Android or iOS * return an instance of NotificationAppLaunchDetails when platform instance can't be detected and getNotificationAppLaunchDetails is called * default didNotificationLaunchApp to false * update readme on testing and update API docs on getNotificationAppLaunchDetails
- Loading branch information
Showing
5 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
flutter_local_notifications/lib/flutter_local_notifications.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters