ios-jsc icon indicating copy to clipboard operation
ios-jsc copied to clipboard

Implement idle timer in native script 7 application

Open harishchopra86 opened this issue 4 years ago • 0 comments

Is there a way to implement idle timer in NativeScript iOS. I am using nativescript 7 and already tried: https://stackoverflow.com/questions/48788676/detect-app-inactivity-idle-timeout-in-nativescript

However in NativeScript 7, adding and initializing custom UIWindow does not works. Secondly I tried to set a custom window on appStart with application.ios.window = CustomWindow but that did not work either.

Please advise if there is a way to achieve this. I need to get all user events.

Thanks.

harishchopra86 avatar Nov 25 '20 14:11 harishchopra86