mahmoudym commented on issue #213:
URL: 
https://github.com/apache/cordova-plugin-media/issues/213#issuecomment-815495071


   This solution worked for me:
   first change line 374 
   From:
   [self.avSession setCategory:sessionCategory error:&err];
   To:
   [self.avSession setCategory:AVAudioSessionCategoryPlayback error:&err];
   
   and then in 'AppDelegate.swift' in function 'didFinishLaunchingWithOptions' 
add this lline:
   
   UIApplication.shared.beginReceivingRemoteControlEvents()


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to