JusticeRage / ApkTrack

ApkTrack is an Android app which checks if updates for installed APKs are available.
GNU General Public License v3.0
123 stars 27 forks source link

Proxy support #99

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi! Is possible add an ability to work with Orbot/I2P services??

JusticeRage commented 7 years ago

I was actually considering this. Apparently, using the NetCipher library would provide this built-in. I'll work on that when I get the chance.

ghost commented 7 years ago

Ok, thank you!

m-boyd commented 7 years ago

Great to see this mentioned. Ideally this could be implemented in a way that wouldn't deanonymize ApkTrack users who use the same proxy for other purposes. Could Tor/Orbot resolve this?

JusticeRage commented 7 years ago

Actually I have written some code for this already, but haven't had the time to finalize / push it yet. What I've added is an option to specify a proxy (i.e. 127.0.0.1:9050). NetCipher was rejected because its API is very different from the HTTP lib I'm currently using and would require significant refactoring to integrate. Give me a couple of weeks to push this update to the Beta channel.

JusticeRage commented 7 years ago

Okay, I've been doing some work on this feature and will release it quite soon. I have however discovered that while version checks can go through a proxy (i.e. Orbot), the APK downloads can not as they are undertaken by the user's browser of android's DownloadManager. I will warn the user, but that's all I can do short of re-implementing a DownloadManager (and that's a lot of work...). What do you think?

For the future, I have located a possible DownloadManager replacement, but I don't think it supports proxies at the moment.