Hi I\'m making ios app using UniversalLink.
Universal Link works fine, but callback method is not called.
My AppDelegate.swift is below.
In my case, I started a brand new project on Xcode 11 which uses SceneDelegate as well as AppDelegate
Looks like UniversalLinks (and probably several other APIs) use this callback on the SceneDelegate:
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { }
Instead of this callback on the AppDelegate:
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { }
Once I implemented the one on SceneDelegate everything started working as expected again. I haven't tried it, but I'm assuming that if you are targeting iOS 12 and below, you might need to implement both methods.
Hope this helps