Skip to content

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Oct 20, 2025

  • Tests written, or not not needed

Fixes: #14681

Deduplicates isNetworkAndServerAvailable logic

Removes c.isWifi() && !c.isMetered() from internet walled logic since isConnected already covers local internet and internet access

Implements ConnectivityManager.NetworkCallback for better network state listening

Removes deprecated logics

Adds better documentation

@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch from 5c72334 to d783dfe Compare October 21, 2025 08:13
@nextcloud nextcloud deleted a comment from github-actions bot Oct 21, 2025
@alperozturk96 alperozturk96 changed the title fix: internet walled check logic fix: connectivity service impl Oct 21, 2025
@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch 2 times, most recently from e973ca8 to facd5b2 Compare October 21, 2025 09:06
@nextcloud nextcloud deleted a comment from github-actions bot Oct 21, 2025
@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch from facd5b2 to d1c1436 Compare October 22, 2025 11:46
@alperozturk96 alperozturk96 marked this pull request as draft October 22, 2025 11:58
@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch 2 times, most recently from bb34886 to ae23afa Compare November 7, 2025 14:26
@alperozturk96 alperozturk96 marked this pull request as ready for review November 7, 2025 14:26
@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch from 60e8b7d to 47974ec Compare November 17, 2025 14:28
@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15820.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the fix/internet-walled-check-logic branch from 327cde9 to 2d4633d Compare December 5, 2025 07:37
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Codacy

SpotBugs

CategoryBaseNew
Bad practice4343
Correctness7476
Dodgy code260259
Experimental11
Internationalization77
Malicious code vulnerability33
Multithreaded correctness3434
Performance4848
Security1818
Total488489

SpotBugs increased!

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload Failure with "No Internet Connection" Message After Upgrading to Version 3.31.0 on Android App

3 participants