Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70764

AppState on desktop

$
0
0

@dmironiuk wrote:

In the ngOnInit I register application state change listener like this:

this.appStateHandler = Plugins.App.addListener('appStateChange', this.handleAppStateChange)

The problem is that on desktop it triggers only once and isActive value is set to false (then when I change tabs in the browser it emits correct events).

Anybody knows how to solve this problem?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70764

Trending Articles