Skip to content

[Android] networkStatusChange-event fires when app becomes active #1492

Open
@solojuve1897

Description

Description of the problem:
Every time app becomes active networkStatusChange is fired for some reason. Only tested on Android. Possibly also occuring on iOS.

Affected platform

  • Android
  • iOS
  • electron
  • web

OS of the development machine

  • Windows
  • macOS
  • linux

Other information:

Capacitor version:
Beta 22

Steps to reproduce:
Network.addListener('networkStatusChange', (status) => {
console.log('networkStatusChange was fired')
})

Link to sample project:

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions