Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement idle timer in native script 7 application #1284

Open
harishchopra86 opened this issue Nov 25, 2020 · 0 comments
Open

Implement idle timer in native script 7 application #1284

harishchopra86 opened this issue Nov 25, 2020 · 0 comments

Comments

@harishchopra86
Copy link

harishchopra86 commented Nov 25, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant