Reputation: 41
I have a requirement to give the user the option to keep specific screen in the app awake so the screen will not be switched off automatically in order to give the user the time to read the content. at the same time the application uses audio_service pluggin to play audio in the background.
The problem is when I enable the wake lock the audio_service stopped working in the background.
Any idea how to solve this conflict.
Upvotes: 0
Views: 278