INNER CODE UNIT · Swift
application
JetBrains/kotlinconf-app · app/iosApp/iosApp/iOSApp.swift:39
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
) -> Bool {
FirebaseApp.configure()
Main_iosKt.doInitApp()
UNUserNotificationCenter.current().delegate = self
return true
}
// Forwards notification payload data to NotifierManager
func application(
_ application: UIApplication,
didReceiveRemoteNotification userInfo: [AnyHashable: Any]
) async -> UIBackgroundFetchResult {
IOSNotificationsKt.handleRemoteNotification(userInfo: userInfo)
return UIBackgroundFetchResult.newData
}