Solian/ios/Runner/AppDelegate.swift

18 lines
566 B
Swift
Raw Normal View History

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-05-18 10:17:16 +00:00
}