Feature #1800

Request notification when orbot stops working

Added by bryanesque over 4 years ago. Updated over 2 years ago.

Status:In ProgressStart date:08/29/2013
Priority:HighDue date:01/24/2014
Assignee:hans% Done:

0%

Category:-Spent time:-
Target version:v15 - MayPhlowerz
Component:

Description

When orbot is running in the background and goes offline, there's no notification that has happened.


Related issues

Related to NetCipher - Task #5319: NetCipher.useTor() automatically sends ACTION_START Intent New 06/11/2015

History

#1 Updated by amoghbl1 about 4 years ago

I would love to work on this , although I do not fully understand the problem that you describe here! Could you please reply with a more detailed description of what you mean?

#2 Updated by n8fr8 about 4 years ago

  • Target version set to v13 - For Aaron

#3 Updated by bryanesque about 4 years ago

This request happened awhile ago so it might have been addressed in subsequent releases. While I was training people to use Orbot, one user successfully installed and ran Orbot, but his device a galaxy tab, kept dropping the wifi connection and orbot would stop. He could see orbot was no longer connected when he switched to orbot, but he wanted a more prominent alert to notify him that he was no longer connected to tor.

amoghbl1 wrote:

I would love to work on this , although I do not fully understand the problem that you describe here! Could you please reply with a more detailed description of what you mean?

#4 Updated by n8fr8 about 4 years ago

  • Due date set to 01/24/2014
  • Assignee set to amoghbl1
  • Priority changed from Normal to High
  • Target version changed from v13 - For Aaron to v14 - April Anons

#5 Updated by hans over 2 years ago

  • Status changed from New to In Progress
  • Assignee changed from amoghbl1 to hans
  • Target version changed from v14 - April Anons to v15 - MayPhlowerz
These pull requests make this possible:

An app can get status updates from Orbot using a BroadcastReceiver like this:

    private BroadcastReceiver torStatusReceiver = new BroadcastReceiver() {

        @Override
        public void onReceive(Context context, Intent intent) {
            if (TextUtils.equals(intent.getAction(), OrbotHelper.ACTION_STATUS)) {
                String status = intent.getStringExtra(OrbotHelper.EXTRA_STATUS);
                torStatusTextView.setText(status);

                boolean enabled = status.equals(OrbotHelper.STATUS_ON);
                httpProxyButton.setEnabled(enabled);
                socksProxyButton.setEnabled(enabled);
            }
        }
    };

Also available in: Atom PDF