From f9695ad31b6b4d227328d71f3f6e4c2c5f042ce2 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 14 Sep 2026 13:38:18 -0400 Subject: [PATCH 1/2] changeTest --- Neuro App/Config.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Neuro App/Config.swift b/Neuro App/Config.swift index 875bde5..9504163 100644 --- a/Neuro App/Config.swift +++ b/Neuro App/Config.swift @@ -15,8 +15,8 @@ private let defaultSignalingServerUrl = AppURLs.webSocketURL private let defaultIceServers = ["stun:stun.l.google.com:19302"] struct Config { + let webRTCIceServer: [String] let signalingServerUrl: URL - let webRTCIceServers: [String] - static let `default` = Config(signalingServerUrl: defaultSignalingServerUrl, webRTCIceServers: defaultIceServers) + static let `default` = Config(signalingServerUrl: defaultSignalingServerUrl, webRTCIceServer: defaultIceServers) } From c6214aa1178dcac92790b727cb4b9828c32a57e2 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 14 Sep 2026 14:29:45 -0400 Subject: [PATCH 2/2] Code change --- Neuro App/AppDelegate.swift | 85 +++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/Neuro App/AppDelegate.swift b/Neuro App/AppDelegate.swift index 38ecb78..ad08ae8 100644 --- a/Neuro App/AppDelegate.swift +++ b/Neuro App/AppDelegate.swift @@ -83,9 +83,86 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD provider = CXProvider(configuration: configuration) provider.setDelegate(self, queue: nil) + + + + + // createSignalingClient() configuration.supportedHandleTypes = [.generic] // Custom initialization logic here + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + print("App has launched") checkforUUID() // Configure notification settings @@ -102,6 +179,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in if granted { DispatchQueue.main.async { + + + + + + + + UIApplication.shared.registerForRemoteNotifications() } } else {