From 2c3a727260dee63962a5a0ff4d76f121e544083d Mon Sep 17 00:00:00 2001 From: siebeg-ideal Date: Fri, 17 Oct 2025 15:36:54 +0200 Subject: [PATCH] [IOS] Fix: don't activate AudioSession in getAudioInputs --- ios/RNCallKeep/RNCallKeep.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ios/RNCallKeep/RNCallKeep.m b/ios/RNCallKeep/RNCallKeep.m index 786045fe..8169aed6 100644 --- a/ios/RNCallKeep/RNCallKeep.m +++ b/ios/RNCallKeep/RNCallKeep.m @@ -610,13 +610,6 @@ + (NSArray *) getAudioInputs } } - BOOL isCategoryActivated = [myAudioSession setActive:YES error:&err]; - if (!isCategoryActivated) - { - NSLog(@"[RNCallKeep][getAudioInputs] setActive failed"); - [NSException raise:@"setActive failed" format:@"error: %@", err]; - } - NSArray *inputs = [myAudioSession availableInputs]; return inputs; }