ios-jsc
ios-jsc copied to clipboard
Implement idle timer in native script 7 application
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.