Hi to all,
i've create a simple app that streams my audio (web radio!).
It is all ok but after about 5 minutes the app goes offline maybe because the system goes sleep.
So i tried to use the window.plugins.insomnia.keepAwake() and it works because the screen remains wake.
But if i tap the lock button the screen goes black and after about 5 minutes the app stops playing music.
How to use well the window.plugins.insomnia.keepAwake(); ?
Please help me.