Auto redirect to page if hasn't action on screen

i’m new to ionic, how to auto redirect to page if hasn’t action on screen ?
please help me. thanks

You can use #setInterval see below code

var TaskAutoRefresh30 = setInterval(() => {
        clearInterval(TaskAutoRefresh30);
        this.navCtrl.push('YourPageWhereYouRedirect')
}, 30000);

i want only redirect to page if i don’t have action on screen. if i click, tap, swipe… i don’t want auto redirect.
with your code default 30s auto redirect to page

Hi, with your code, I tried to redirect to my tab 5. however it state that select is null any help? thabkyou.