2024-05-18 10:17:16 +00:00
|
|
|
import UIKit
|
|
|
|
import Flutter
|
|
|
|
|
|
|
|
@UIApplicationMain
|
|
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
2024-06-08 13:35:50 +00:00
|
|
|
override func application(
|
|
|
|
_ application: UIApplication,
|
|
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
|
|
) -> Bool {
|
|
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
|
|
}
|
|
|
|
|
|
|
|
override func applicationDidBecomeActive(_ application: UIApplication) {
|
|
|
|
application.applicationIconBadgeNumber = 0;
|
2024-06-24 05:00:01 +00:00
|
|
|
UNUserNotificationCenter.current().removeAllDeliveredNotifications();
|
2024-06-08 13:35:50 +00:00
|
|
|
}
|
2024-05-18 10:17:16 +00:00
|
|
|
}
|