We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a35aa0 commit fdf366cCopy full SHA for fdf366c
2 files changed
Neki-iOS/APP/Sources/Application/AppDelegate.swift
Neki-iOS/APP/Sources/Application/Neki_iOSApp.swift
@@ -7,23 +7,28 @@
7
8
import SwiftUI
9
import ComposableArchitecture
10
+import Firebase
11
12
@main
13
struct Neki_iOSApp: App {
- @UIApplicationDelegateAdaptor(AppDelegate.self) var delegate
14
-
15
let store = Store(initialState: AppCoordinator.State()) {
16
AppCoordinator()
17
}
18
+ init() {
19
+ FirebaseApp.configure()
20
+ }
21
+
22
var body: some Scene {
23
WindowGroup {
24
AppCoordinatorView(store: store)
25
.onOpenURL { handleIncomingURL($0) }
26
27
- private func handleIncomingURL(_ url: URL) {
28
+}
29
30
+private extension Neki_iOSApp {
31
+ func handleIncomingURL(_ url: URL) {
32
if url.scheme == "neki" { return }
33
34
if url.scheme == "https" || url.scheme == "http" {
0 commit comments