stack_wallet/ios/Runner/AppDelegate.swift

21 lines
657 B
Swift
Raw Normal View History

2022-08-26 08:11:35 +00:00
import UIKit
import Flutter
@main
2022-08-26 08:11:35 +00:00
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
let dummy = get_mnemonic()
print(dummy)
var flutter_native_splash = 1
UIApplication.shared.isStatusBarHidden = false
GeneratedPluginRegistrant.register(with: self)
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}