orbot icon indicating copy to clipboard operation
orbot copied to clipboard

Orbot no longer broadcasts a status message if it is already running when it receives an ACTION_START intent

Open sorenstoutner opened this issue 2 years ago • 4 comments

In version 16.4.1-RC-2-tor.0.4.4.6 and previous, Orbot would broadcast a status message with the string "ON" if it was already connected when it received a "org.torproject.android.intent.action.START" intent. Beginning with version 16.6.0-RC-2-tor.0.4.6.9 this is no longer the case.

It does continue to broadcast the "ON" status update after it connects if it isn't connected when it receives the ACTION_START intent.

This is a problem for Privacy Browser, which uses the status broadcast to decide whether to display a "Waiting for Orbot" dialog. It can be tested by enabling the Tor proxy in the settings.

sorenstoutner avatar Mar 17 '22 20:03 sorenstoutner

Privacy Browser has a bug report regarding the issue at https://redmine.stoutner.com/issues/814.

sorenstoutner avatar Mar 17 '22 20:03 sorenstoutner

Related? https://github.com/guardianproject/orbot/issues/638

hussainmohd-a avatar Mar 18 '22 10:03 hussainmohd-a

Working on it

n8fr8 avatar Mar 18 '22 17:03 n8fr8

Orbot 16.6.1-rC-3-tor.0.4.6.10 exhibits the opposite behavior. If Orbot is not running and is started by another app with the "org.torproject.android.intent.action.START" intent, it starts and connects but never broadcasts the "ON" status update when it connects.

If Orbot is already running but not connected, it connects and correctly broadcasts the "ON" status updated. If it is already connected it correctly broadcasts the "ON" status update.

sorenstoutner avatar May 19 '22 20:05 sorenstoutner

Does anyone have any ideas what it would take to fix this problem?

sorenstoutner avatar Mar 01 '23 18:03 sorenstoutner