This is flutter sqlite local notification project. User can add task.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
539 B

2 years ago
  1. import UIKit
  2. import Flutter
  3. @UIApplicationMain
  4. @objc class AppDelegate: FlutterAppDelegate {
  5. override func application(
  6. _ application: UIApplication,
  7. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  8. ) -> Bool {
  9. if #available(iOS 10.0, *) {
  10. UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
  11. }
  12. GeneratedPluginRegistrant.register(with: self)
  13. return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  14. }
  15. }