diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d88816d..9e9756fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # 0.4.0 -* [BREAKING_CHANGE] Updated dart min version to 3.0.0 -* Updated dependencies +* [BREAKING_CHANGE] Updated dart min version to 3.0.0. +* Updated dependencies. +* Fixed lints. +* Updated example. # 0.3.3 * Updated dependencies diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index 71cc41e3..661646c0 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -8,6 +8,9 @@ import Flutter didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) + if #available(iOS 10.0, *) { + UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate + } return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }