A. Adjust your iPhone's settings to prevent it from going to sleep. Go to 'Settings' > 'Display & Brightness' > 'Auto-Lock' and set it to 'Never' while using the app. Remember to change it back after use to save battery.
B. Check if the app has a setting for keeping the screen on. Some apps have an option to keep the screen active while in use, which can help with receiving calls.