Using the plugin I am able to get all the play/pause/next/prev functionality on the lock screen and the control center. The issue that I am running into is that on the lock screen it always shows the pause button no mater if it is playing or not.
I am using @ghenry22 media plugin fork (https://github.com/ghenry22/cordova-plugin-media) for the ability to use the AVPlayer to stream mp3's