diff --git a/flo/Info.plist b/flo/Info.plist index 78c2295..ee86e00 100644 --- a/flo/Info.plist +++ b/flo/Info.plist @@ -40,5 +40,16 @@ audio + CFBundleURLTypes + + + CFBundleURLName + app.flo + CFBundleURLSchemes + + flo + + + diff --git a/flo/SceneDelegate.swift b/flo/SceneDelegate.swift index 7595181..c26402b 100644 --- a/flo/SceneDelegate.swift +++ b/flo/SceneDelegate.swift @@ -42,4 +42,9 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func sceneWillEnterForeground(_: UIScene) {} func sceneDidEnterBackground(_: UIScene) {} + + func scene(_ scene: UIScene, openURLContexts URLContexts: Set) { + guard let _ = URLContexts.first?.url else { return } + // URL scheme registered for app launch; routing not yet implemented + } }