I have a flutter audioplayer plugin which interacts with native platform code - android(using java) and ios(using objective C). The plugin is done and audio playback everything works fine.
The only additional feature I need is that when an audio is played, I want it to show up in notification area and lock screen of both android and ios.
I think a foreground service is used for this in android and MPNowPlayingInfoCenter(or something similar) for ios. I just need only this specific addition to the exisiting features.
On the notification itself, there should be play/pause button and forward/rewind by 30 seconds buttons.