AppState on desktop

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?