in grow-ios-starter/swift-starter/FriendlyChatSwift/AppDelegate.swift [28:40]
func application(_ application: UIApplication,
open url: URL,
options: [UIApplication.OpenURLOptionsKey : Any])
-> Bool {
if let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url) {
// Handle the deep link. For example, show the deep-linked content or
// apply a promotional offer to the user's account.
// ...
print(dynamicLink.url)
return true
}
return GIDSignIn.sharedInstance().handle(url)
}