Conversations: Detect Tor status and ask if user wants to start it

Created on 2 Aug 2016  路  11Comments  路  Source: iNPUTmice/Conversations

Like ChatSecure does: https://github.com/guardianproject/ChatSecureAndroid/blob/master/src/info/guardianproject/onionkit/ui/OrbotHelper.java

Right now Conversations detects Tor as not running in the Accounts view, maybe you can pop a dialogue up asking: Orbot doesn't appear to be running. Would you like to start it up and connect to Tor? Yes/No and pull the trigger on the Orbot start intent.

Most helpful comment

No, just a small thing to help Tor users, this and #1930 should make Conversations a bit better.

All 11 comments

When would be asking this question Conversations? Just when it's started? Every time you connect your account? Just once after installing the app? Cause I don't want to be asked this every time I open the app, there's a setting to run it under TOR already

When Orbot is not actually running.

If Orbot app is dying that's not a Conversations problem, it's your/Orbot problem, you need to be spammed, either you fix Orbot or uncheck the use of Tor.

Not sure what you mean besides this.

So, as an user that do not use Conversations under TOR (even when I use Orbot for other apps so it's installed in my phone), how would I notice this change? That's what I meant

You won't, since Conversations does/should not care about Tor then.

Great then! Though it was a change to promote new users to use TOR.

No, just a small thing to help Tor users, this and #1930 should make Conversations a bit better.

+1

I am giving a try to it..

@iNPUTmice @licaon-kter should I use a snackbar like the ones used in conversation fragment with two actions, namely Uncheck Tor and Start Orbot, or should I use a dialog? Also if a dialog is shown, and a user dismisses it, what should be the time interval after which other such dialog is shown?

I do like the stack bar, but you might need more actions so maybe a dialogue is better.

What's the timeout now? (The one that shows the "trouble connecting" notification)

@licaon-kter each time the user sends a message while orbot is shutdown, he receives a notification saying Unable to connect to account.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tbeitter picture tbeitter  路  3Comments

eyome picture eyome  路  3Comments

licaon-kter picture licaon-kter  路  3Comments

DoM1niC picture DoM1niC  路  4Comments

benjaminbischoff picture benjaminbischoff  路  3Comments