From eb43c6f953b64fdf8f1932812390b5a6a4b75e1e Mon Sep 17 00:00:00 2001 From: David Date: Mon, 14 Sep 2026 13:14:08 -0400 Subject: [PATCH] making confict --- Neuro App/AppDelegate.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Neuro App/AppDelegate.swift b/Neuro App/AppDelegate.swift index fb374fb..1e0cab8 100644 --- a/Neuro App/AppDelegate.swift +++ b/Neuro App/AppDelegate.swift @@ -106,9 +106,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } } - - - AVCaptureDevice.requestAccess(for: .audio) { granted in + AVCaptureDevice.requestAccess(for: .video) { granted in if granted { // Access granted } else { @@ -116,7 +114,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } } - AVCaptureDevice.requestAccess(for: .video) { granted in + AVCaptureDevice.requestAccess(for: .audio) { granted in if granted { // Access granted } else { @@ -124,6 +122,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } } + + registerForVoIPPushes() return true