capacitor
capacitor copied to clipboard
bug: Network unavailable after app put to sleep
Bug Report
Capacitor Version
Latest Dependencies:
@capacitor/cli: 4.0.1
@capacitor/core: 4.0.1
@capacitor/android: 4.0.1
@capacitor/ios: 4.0.1
Installed Dependencies:
@capacitor/cli: 3.5.0
@capacitor/ios: 3.5.0
@capacitor/core: 3.5.0
Platform(s)
- Android
- iOS
Current Behavior
After an extended period in background the network is unavailable. All network connections time out. After window.location.reload() the network starts working again.
Expected Behavior
The network to work continuously.
Code Reproduction
Other Technical Details
npm --version output: 8.5.5
node --version output: v17.5.0
pod --version output (iOS issues only): 1.11.3
same problem with:
@capacitor/cli: 3.7.0
@capacitor/ios: 3.7.0
@capacitor/core: 3.7.0