Making a music player for Android and iOS that runs in background

Hi, I am making an app to play music , specifically, to listen to a radio.

I want to find a way for the app to play in iOS and Android music in the background , can this be done without having to write native code ?.

The aPP should play in the background and with the screen turned off.

If this cant be done I will have to change technologies. Maybe xamarin

Hi Lea_m, Do you get this to work?