This is a known limitation related to Xiaomi’s battery management and background apps handling. In order to be able to return to the WebLink Home screen during Cast, follow these steps:

  1. Allow Overlay permission for WebLink Host App
  2. Long-press the WebLink Host App icon and navigate to Other permissions
  3. Inside Other permissions, enable Display pop-up window and Display pop-up windows while running in the background permissions

Additionally, follow these steps for each app for a better user-experience:

  1. Access the App info
  2. Navigate to Battery saver
  3. Change the default setting (usually MIUI Battery saver) to No restrictions

If the above steps didn’t help resolve your issue, you might also need to go through the following steps:

  1. While both WebLink Host App and Waze are open, access and expand the list of currently running apps.
  2. Long-press each app until a set of icons appears.
  3. Select the lock icon for both WebLink Host App and Waze. As a result, the apps will be locked in the background and won’t be accidentally cleared by MIUI battery optimization

Need more help?