From fb42b8027676d973c976165feea71508f76c947a Mon Sep 17 00:00:00 2001 From: Tim Johnsen Date: Thu, 25 Apr 2024 10:01:44 -0700 Subject: [PATCH 1/2] Handle deep links. --- iOS/AppDelegate.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index e61cafe5..ea7515c3 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -19,4 +19,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { #endif return true } + + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { + if url.scheme == "yattee" { + OpenURLHandler.handle(url) + } + return false + } } From 626652c4217bdf19f40937a266109b34e464f197 Mon Sep 17 00:00:00 2001 From: Tim Johnsen Date: Thu, 25 Apr 2024 10:18:10 -0700 Subject: [PATCH 2/2] Update iOS/AppDelegate.swift --- iOS/AppDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index ea7515c3..8cabe404 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -23,6 +23,7 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { if url.scheme == "yattee" { OpenURLHandler.handle(url) + return true } return false }