Hi,
Thanks for the useful library, it's working well in Android but not in iOS. After idle state around 2 min finishes login user will logout for that I have used this.bnIdle.stopTimer(); & navigated to login page. It's working in Android but getting issue in iOS, first time it logout after 2 min idle state but when user login again it logout within few seconds.
this.bnIdle.startWatching(120).subscribe((res) => { if (res) { let token = localStorage.getItem('Token'); if (token) { this.saveform('close'); } } })
Hi, Thanks for the useful library, it's working well in Android but not in iOS. After idle state around 2 min finishes login user will logout for that I have used this.bnIdle.stopTimer(); & navigated to login page. It's working in Android but getting issue in iOS, first time it logout after 2 min idle state but when user login again it logout within few seconds.
this.bnIdle.startWatching(120).subscribe((res) => { if (res) { let token = localStorage.getItem('Token'); if (token) { this.saveform('close'); } } })