Doze and App Standby

Hi guys, i have a issue with an ionic 3 app, my app use a timer to check something on server every 3 seconds so that work fine, but when the screen is off after +/- 3h my app does’t work more it stop sending request, i think it enter in Doze and App Standby MODE, so there is a solution for that plz