Skip to content

Commit 5f1d97c

Browse files
committed
Add snippet tag
1 parent 7741ade commit 5f1d97c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/swift/FirebaseUI-demo-swift/FUIAppDelegate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
4545

4646

4747
func handleOpenUrl(_ url: URL, sourceApplication: String?) -> Bool {
48+
// [START handle_open_url]
4849
if FUIAuth.defaultAuthUI()?.handleOpen(url, sourceApplication: sourceApplication) ?? false {
4950
return true
5051
}
5152
// other URL handling goes here.
5253
return false
54+
// [END handle_open_url]
5355
}
5456

5557
}

0 commit comments

Comments
 (0)