Created
May 28, 2018 08:27
-
-
Save WildStudio/9f9cc2686627782602ec662327a073a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { | |
self.currentUserActivity = userActivity | |
let dynamicLinkHandler = FirebaseDynamicLinksHandler() | |
let handled = dynamicLinkHandler.handle(userActivity: userActivity) { (success) in | |
///callback completed should update the startup state | |
AppStateController.shared().deeplinkCallbackCompleted = true | |
} | |
return handled | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment