Skip to content

Commit

Permalink
fix: added missing swift code for example project
Browse files Browse the repository at this point in the history
  • Loading branch information
jhomlala committed Nov 10, 2023
1 parent d1c97b6 commit f921f8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit f921f8c

Please sign in to comment.