This is implemented in AppDelegate
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
return FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
}
I have App Link with some parameters that is shared on Facebook. If my app is minimized, clicking link on Facebook opens my app and calling function
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool
like it should happened.
Problem is if my app is terminated (not minimized) clicking link on Facebook opens my app but function is not called so I can't process input params.
I have found something about handling cold start in Facebook documentation but that info is outdated.
Did I miss something to implement or it is Facebook bug?