Set interval and throttle lodash not working after waiting times

Currently, i’m using Throttle in lodash and setInterval to make a pop up modal. After 5 minutes, the pop up will show asking “Are you still there?”. If click “yes” then the setInterval will reset count 5 minutes. It works normally in browser, but not in webview of android and iOS. When i change 5 minutes to 20 seconds, it works normally.

After the first 5 minutes and click “yes” and 5 minutes later, nothing happen until i click again on screen, the pop up appear. I want it working normally without touching the screen