mirror of
https://github.com/ente-io/ente.git
synced 2025-05-25 12:32:38 +00:00
24 lines
635 B
Swift
24 lines
635 B
Swift
import Flutter
|
|
import UIKit
|
|
import app_links
|
|
|
|
@main
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
|
override func application(
|
|
_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
) -> Bool {
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
|
|
super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
|
|
if let url = AppLinks.shared.getLink(launchOptions: launchOptions) {
|
|
AppLinks.shared.handleLink(url: url)
|
|
}
|
|
|
|
return false
|
|
|
|
// return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
}
|
|
}
|