Hi,
I need to through the notification if app is been idle for 5 mins or greater.
I am using navigator in app js and on top of that I have implemented this code. But, after that my button click is not working at the first time, I have to click 2 to three times to make the button action trigger.
App.js code:
return (
<UserInactiveCheck
timeToInactivity={1}
interval={10}
onAction={action}
ref={ref => {
userInactiveCheckRef = ref;
}}
handleAppState={true}>
{modalVisible && }
);
Hi,
I need to through the notification if app is been idle for 5 mins or greater.
I am using navigator in app js and on top of that I have implemented this code. But, after that my button click is not working at the first time, I have to click 2 to three times to make the button action trigger.
App.js code:
return (
<UserInactiveCheck
timeToInactivity={1}
interval={10}
onAction={action}
ref={ref => {
userInactiveCheckRef = ref;
}}
handleAppState={true}>
{modalVisible && }
);