Skip to content

Implement idle timer in native script 7 application #1284

@harishchopra86

Description

@harishchopra86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions