Skip to content

Commit a89d8e1

Browse files
Update BasicExampleApp.swift
1 parent 467fb2b commit a89d8e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Example/BasicExample/BasicExample/BasicExampleApp.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ struct BasicExampleApp: App {
5454
var body: some Scene {
5555
WindowGroup {
5656
ContentView()
57+
.onOpenURL { url in
58+
// Handle deep links in SwiftUI
59+
print("Deep link received: \(url)")
60+
AppsFlyerLib.shared().handleOpen(url, options: nil)
61+
}
5762
}
5863
}
5964
}

0 commit comments

Comments
 (0)