Merge pull request #645 from timonus/make-url-scheme-work

Handle deep links.
This commit is contained in:
Arkadiusz Fal 2024-05-16 18:21:15 +02:00 committed by GitHub
commit c9d20d28de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,4 +19,12 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
#endif #endif
return true return true
} }
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
if url.scheme == "yattee" {
OpenURLHandler.handle(url)
return true
}
return false
}
} }