I am using GoogleChromeLabs/svgomg-twa as a base for a radio streaming website. The problem is that the audio stops streaming after the app is held in the background for around 15 minutes.
Is there a way to set the WAKE_LOCK
or keepScreenOn
properties in the Android project?
It's not currently possible, but the Screen Wake Lock API is currently in Origin Trial and should solve that when the feature launches (expected Chrome 84).