Skip to content

Instantly share code, notes, and snippets.

@zontan
Created July 6, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zontan/0749ca0fd0e831a7cc830b73f583e02b to your computer and use it in GitHub Desktop.
Save zontan/0749ca0fd0e831a7cc830b73f583e02b to your computer and use it in GitHub Desktop.
import FirebaseUI
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
let sourceApplication = options[UIApplication.OpenURLOptionsKey.sourceApplication] as! String?
if FUIAuth.defaultAuthUI()?.handleOpen(url, sourceApplication: sourceApplication) ?? false {
return true
}
return false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment