We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a2ca94 + a5197f6 commit fe24c52Copy full SHA for fe24c52
samples/swift/uidemo/AppDelegate.swift
@@ -36,7 +36,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
36
37
func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -> Bool {
38
let sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey] as! String?
39
- if FIRAuthUI.authUI()?.handleOpenURL(url, sourceApplication: sourceApplication) ?? false {
+ if FIRAuthUI.authUI()?.handleOpenURL(url, sourceApplication: sourceApplication ?? "") ?? false {
40
return true
41
}
42
// other URL handling goes here.
0 commit comments