Background music

How to make app i which we can play background music of the phone is closed even


1 Like

App is closed or device is in idle mode (screen off)?

1 Like

Yes screen off

On Android < 6 disabling PlayOnlyInForeground (in Player Properties) is enough. On Android ≥ 6, a Foreground service is required to prevent Doze mode.