We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6988cd3 commit 49245deCopy full SHA for 49245de
packages/audiodocs/docs/system/audio-manager.mdx
@@ -32,7 +32,6 @@ function App() {
32
});
33
34
useEffect(() => {
35
-
36
// enabling emission of events
37
AudioManager.enableRemoteCommand('remotePlay', true);
38
AudioManager.enableRemoteCommand('remotePause', true);
packages/react-native-audio-api/ios/audioapi/ios/system/NotificationManager.mm
@@ -46,7 +46,9 @@ - (void)activelyReclaimSession:(BOOL)enabled
46
name:AVAudioSessionSilenceSecondaryAudioHintNotification
47
object:nil];
48
49
- [self startPollingSecondaryAudioHint];
+ dispatch_async(dispatch_get_main_queue(), ^{
50
+ [self startPollingSecondaryAudioHint];
51
+ });
52
}
53
54
// WARNING: this does not work in a simulator environment, test it on a real device
0 commit comments