A. Check the app settings for any options related to background playback or screen timeout. Ensure that background playback is enabled so that the app can continue playing audio when the screen is off.
B. As a temporary workaround, you can adjust your screen timeout settings. Go to Settings > Display & Brightness > Auto-Lock and set it to a longer duration to prevent the screen from going dark too quickly.