DNS or ARP Cache of Android App does not cleanup after changing networks
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Connect to wifi, where nextcloud servers dns is a local ip
2. Use the nextcloud app
3. deactivate wifi
4. use cellular, where the nextcloud servers dns is a public ip, but the same dns as local
5. App stopps working
6. Only closing it through the android app manager will make it work again (normal closing not enough)
7. Switching in the non function state back to wifi, where the old ip matches the dns makes the app work again
### Expected behaviour
- Like all other apps, it should cleanup the arp and dns cache and try to resolve again in case the ip is unreachable behind the dns
### Actual behaviour
- See above + ALL other nextcloud android apps which are connected the the main app behaive the same. I asume they use the main app to communicate or read the network details
### Environment data
Android version: 12
Device model: Z Fold 2
Stock or customized system: Stock
Nextcloud app version: 3.20.3
Nextcloud server version: 24.0.2
Reverse proxy: apache2 with ssl
### Logs
Sadly no logs at the server
I dont know how to get logs at the android app
Contributor guide
Assessment
This issue has not been assessed yet.