bug: Revanced patches do not download or update on mobile data
Bug description
If you use mobile data instead of Wi-Fi, the patches will never download nor update. For example, when the patches are downloaded, and you try to manually check for an update, it will not say checking for update like it does on Wi-Fi
Version of ReVanced Manager and version & name of app you are patching
1.26.0-dev.7
Installation method
Regular
ReVanced Manager logs
Logs have nothing
Patch logs
Acknowledgements
- [x] I have checked all open and closed bug reports and this is not a duplicate.
- [x] I have chosen an appropriate title.
- [x] All requested information has been provided properly.
- [x] The bug is only related to ReVanced Manager.
I have the same issue, also on mobile data only. Switching over to Wi-Fi fixes it. Same preview version (1.26.0-dev.7).
Thank you! I just looked on the issues page for this exact reason
Same problem, log states: Skipping update check because the network is down or metered.
The issue seems related to all metered connections , It can be reproduced even connecting to a wi fi and setting it as metered
Does this happen when manually trying to update the bundle with the update button? Auto updates are not performed on metered connections but I can add a setting for that.
Yes, also doesn't update with the button. I get the 'No updates available " toast msg. (but there are newer patches available). Same msg in the log as on the background update check during startup. Tested on dev11.
The code used for manual Is the same so checks for metered connection
This should be fixed by https://github.com/ReVanced/revanced-manager/commit/9d9a0e81dbc9e73e6e3181f6bea9cabb69e49ea8. Manual updates will now ignore metering and an option has been added to allow auto updating on metered networks.
Sorry for taking so long. Let me know if the issue persists.