![]() Please make sure to update your code accordingly. Replace your old stream methods with static and global ones, using static Futureĭelayed notification events: All notification events are now delivered only after the first setListeners being called. ![]() Streams replaced by global static methods: All streams (createdStream, displayedStream, actionStream, and dismissedStream) have been replaced by global static methods. Please refer to the action type's topic for more information on how to implement this. lookupPortByName('notification_action_port') įinal receivedAction = ReceivedAction().fromMap(serializedData) ĭynamic serializedData = receivedAction.toMap() Īction Events Update: Now it's possible to receive action events without bringing the app to the foreground. OnActionReceivedMethodImpl(receivedAction) Convert your data to a map format and reconstruct it later from this format. Send port and Receive port with data restriction: The methods nd() and receivePort!.listen() now only accept serialized data, not objects. Progress property changed to double: The property progress from NotificationContent was changed to double type to increase precision. Update_awesome_main_target_settings('Runner', File.dirname(File.realpath(_FILE_)), flutter_root) Update_awesome_pod_build_settings(installer) # Awesome Notifications pod modification #Īwesome_pod_file = File.expand_path(File.join('plugins', 'awesome_notifications', 'ios', 'Scripts', 'AwesomePodFile'), '.symlinks') Installer.pods_ do |target|įlutter_additional_ios_build_settings(target) This update ensures that your pod packages are configured correctly for both main and extended targets on iOS. Modifications to the Podfile file are now required for local notifications on iOS. □ Migration Guides from Older Versions # Breaking Changes # From Version 0.8.X to 0.9.X: #Īwesome Notifications Podfile Modification: If you have any questions or need further clarification, please visit our Discord Community for support and information. Important: Do not use awesome_notifications in conjunction with other third party notification plugins. These plugins may conflict with each other when trying to acquire global notification resources. Incompatibility Notice: The awesome_notifications plugin is incompatible with flutter_local_notifications or any other notification plugin. □ ATTENTION: Third-Party Plugin Restrictions # We are constantly working to improve Awesome Notifications and provide support for new platforms and services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |