Giter Club home page Giter Club logo

nativescript-idle's People

Contributors

panayotcankov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nativescript-idle's Issues

Not in working in AOT

Getting the following error:

***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1   0x10e064724 -[TNSRuntime executeModule:referredBy:]
2   0x108d0e7b1 main
3   0x111077d81 start
JavaScript stack trace:
1   r@file:///app/bundle.js:1:20294
2   @file:///app/bundle.js:1:20425
3   @file:///app/bundle.js:1:20499
4   @file:///app/bundle.js:1:20791
5   t@file:///app/vendor.js:1:189
6   @file:///app/bundle.js:1:10569
7   t@file:///app/vendor.js:1:189
8   @file:///app/bundle.js:1:20163
9   t@file:///app/vendor.js:1:189
10  @file:///app/bundle.js:1:29544
11  t@file:///app/vendor.js:1:189
12  @file:///app/bundle.js:1:28268
13  t@file:///app/vendor.js:1:189
14  @file:///app/bundle.js:1:21688
15  t@file:///app/vendor.js:1:189
16  @file:///app/bundle.js:1:21493
17  t@file:///app/vendor.js:1:189
18  webpackJsonp@file:///app/vendor.js:1:503
19  anonymous@file:///app/bundle.js:1:98
20  evaluate@[native code]
21  moduleEvaluation@[native code]
22  @[native code]
23  promiseReactionJob@[native code]
24  require@[native code]
25  anonymous@file:///app/starter.js:2:8
26  evaluate@[native code]
27  moduleEvaluation@[native code]
28  @[native code]
29  promiseReactionJob@[native code]
JavaScript error:
file:///app/bundle.js:1:20294: JS ERROR TypeError: Attempted to assign to readonly property.

Any ideas on how to getting it working with AOT?

How to detect app idle time with this plugin?

I need to detect the time when user is not interacting with the app. Any possible solution for this? I have tried with @ng-idle/core and some other plugin too. But nothing is working with nativescript as window and dom is not supported by the nativescript. Any help will be appriciated. @PanayotCankov

Possibility to use to avoid idle state

Hi @PanayotCankov, this package seems to be one of the limited options to work long-term in NativeScript apps without user interaction.
Can this also be used to avoid going into idle state to e.g. keep a socket connection alive? If yes, how could this be achieved?
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.