Ionic 4 keep awake

Hey guys. I was wondering anyone have a solution to keep the app awake. I tried background and Insomnia. insomnia just crash my app when installed and the load screen never loads and freezes there. Also I thought about editing the manifest. Just wondering did anyone have success. Reason I am asking I want to force my audio screen stay open why playing.