Media plugin not working in Android 6.0.1


Hey, I am developing one music player application. I used Ionic native Media plugin for that. It is working perfectly fine in Android 5 or 7 but not working on 6(Marshmellow). Can anyone help me ?

My system information:

Cordova CLI: 7.0.1
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.13
Node Version: v6.10.3
Xcode version: Not installed


Solved… Marshmellow not supporting space in URL. Make sure to replace space with ‘%20’ in url.