[Android] networkStatusChange-event fires when app becomes active #1492
Open
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: