EWTDTHK2
EWTDTHK2
I think so. RTCSystemSetting.m add ``` [self showVolumeUI:NO]; ``` before ``` [self sendEventWithName:@"EventVolume" body:@{@"value": [NSNumber numberWithFloat:volume]}]; ``` not sure if this is what you want.
Yes, I think so.
Based on the following thread https://stackoverflow.com/questions/68249775/system-volume-change-observer-not-working-on-ios-15 I am testing the KVO method: in RTCSystemSetting.m Replace the following ``` [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(volumeChanged:) name:@"AVSystemController_SystemVolumeDidChangeNotification" object:nil]; ``` With: ``` AVAudioSession* audioSession =...
@Vollkorn01 I tried to long press the physical button but I can't reproduce the error that you have encounter yet. However I double checked the original VolumeChanged code. It seems...
> I have another issue: When putting the app to the background and opening it again, the listener won't get called anymore. I could reproduce the problem with a freshly...
In responds to @Vollkorn01 issue with app going to background and listener does not work when going back to foreground, I am testing the following changes, please kindly help to...
@AftabUfaq and @ionleu do you mind posting the full log of your compilation, I can't see which line the compiler shows where the error is located in this screen shot.
> [error build.pdf](https://github.com/c19354837/react-native-system-setting/files/7413526/error.build.pdf) > > @EWTDTHK2 check this > > PS: Thank you for looking into that Please try to add the following line: ``` #import ``` below ``` #import...
> @EWTDTHK2 > > Seems that now build process was successful, but still no effects, listener and getVolume is working only on Android by the way are you testing on...
> Thank you so much for your fix @EWTDTHK2 , it worked! Another issue I recognized is, when audio is playing (spotify in my case) and I open the app...