duckduckgo / android-search-and-stories

DuckDuckGo Search & Stories for Android
https://duckduckgo.com/app
Other
425 stars 172 forks source link

Update NetCipher to geht rid oft faulty "Tor appears not to be running"-message #227

Open vanitasvitae opened 8 years ago

vanitasvitae commented 8 years ago

Hi! I installed DuckDuckGo from FDroid on my Nexus 5 running CopperheadOS (based on Marshmallow AOSP). CopperheadOS has the flag hidepid=2 set, which will also be set as default in AOSP from version 7 (N) upwards. hidepid=2 causes DuckDuckGo to not recognize, whether Orbot is running or not. The guardian project fixed this in their NetCipher package.

Could you update DuckDuckGo to use the latest NetCipher?

nilnilnil commented 8 years ago

Interesting. That version of the package (on F-Droid) is hosted by a community member. I assume you don't want to install it from the play store?

Is it easy via F-Droid to make this request?

vanitasvitae commented 8 years ago

I do not have access to Google Play and honestly I do not want to use it :) AFAIK the FDroid version is built from this repository. At least they link to this repo as the source.

vanitasvitae commented 8 years ago

Is the Google Play version different from the FDroid version? The one on FDroid got last recently updated on 06.02.2016 (Version number 3.0.12). This is the latest version, isn't it?

fgei commented 8 years ago

yes, the Play Store and the F-Droid version are the same apk it seems there's a 1.2.1 NetCipher release available, working to move to the new version right now

vanitasvitae commented 8 years ago

There is a new alpha release of netCipher (2.0.0-alpha1). To solve the original problem, you can no longer use OrbotHelper.isOrbotRunning() (or something like that), but instead you have to communicate with Orbot via status intents. isOrbotRunning does not work on devices running Android 6+.

Edit: Alternatively you can replace the "Use Tor" checkbox with a section for proxy settings (Orbot can be targeted then via localhost:8118)