fix: connectivity service#16232
Conversation
deba220 to
c424058
Compare
0261ff4 to
f2a1b3a
Compare
5b5560b to
291868d
Compare
4f091ab to
7b9830e
Compare
7d56e29 to
4d47cb8
Compare
|
@TheCrowned Hello. Thank you for the feedback. I updated the PR. Could you please check via latest APK file once its generated? |
|
APK file: https://github.com/nextcloud/android/actions/runs/24078742104/artifacts/6304625309 |
2181611 to
1fb36f6
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/24130016101/artifacts/6325219637 |
375d7aa to
71b5321
Compare
|
Still no, I'm sorry. WiFi is on, data is off (and in that condition I'm writing this message), and the app reports no connectivity when trying to uplaod files via the Share button in gallery. Also, the app allows to navigate through nextcloud directories and doesn't say "no connectivity", but shows all dirs I had not previously opened as empty. |
|
APK file: https://github.com/nextcloud/android/actions/runs/24140818844/artifacts/6330035040 |
# Conflicts: # app/src/main/java/com/nextcloud/client/network/ConnectivityServiceImpl.java
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
…vice.java Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
71cfd4c to
bfe2f88
Compare
|
@TheCrowned Could you explain your setup I cannot reproduce this issue? Is it local Nextcloud instance? |
|
APK file: https://github.com/nextcloud/android/actions/runs/25674377280/artifacts/6920775898 |
|
APK file: https://github.com/nextcloud/android/actions/runs/25717704400/artifacts/6937331531 |
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/16232-Unit-test-06-39 |

Fixes: #14681
Deduplicates
isNetworkAndServerAvailablelogicImplements
ConnectivityManager.NetworkCallbackfor better network state listeningRemoves deprecated logics
Adds better documentation
Adds exception handling for http call to prevent temporary issues thus we don't inform user with incorrect availability state
Uses for metered detection
NET_CAPABILITY_NOT_METEREDinstead ofNET_CAPABILITY_NOT_RESTRICTEDRemoves network change receiver uses listener for much better reaction to network change
Converts to Kotlin