[tor-bugs] #32823 [Core Tor/Tor]: support Android SharedPreferences xml as a torrc format
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jan 16 18:35:33 UTC 2020
#32823: support Android SharedPreferences xml as a torrc format
-------------------------------------------------+-------------------------
Reporter: eighthave | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: Android, xml, tbb-mobile, torrc, | Actual Points:
sharedpreferences |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by eighthave):
What I have in mind is definitely not import/export. I mean Tor directly
loading configuration from the Android `SharedPreferences` xml files when
they change (e.g. using Linux inotify). That would make it trivial to
make nice, responsive Settings UX on the Android side, like bridge lines,
etc. Import/export would not help in this goal much at all, since the
Android side would need to have custom code to handle loading the exported
XML. That's the thing to avoid. When doing custom things with
`SharedPreferences`, its quite tricky to get everything syncing and
loading properly, especially with native code involved. Then there are
many bugs with Settings not taking effect immediately, and instead
requiring app restarts, etc.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32823#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list