Main WebView is by far the most complicated because it has the most things going in. I am doing the other first so I can learn all the tricks before tackling the hardest one. When it is done, 3.5 will be ready for release.
The following three activities remain:
• Bookmarks Database View
• Main WebView
I wrote a blog post explaining why Privacy Browser will never monetize the default search engine.
The last thing to do before the 3.5 release is to train Privacy Browser to save and restore the state when it is killed in the background. This is very important for the new day/night theme because every time the theme changes (like entering battery saver mode) the app is restarted. Handling this correctly is a tricky process, and I have no idea how long it will take to figure it out. But, I just made the logcat restore the scroll position on restart. 😀
I recently learned about Liberapay, which is similar to Patreon, but with a focus on the open source community. As such, I created a Liberapay account at https://liberapay.com/sorenstoutner/ for those who would like to support the development of Privacy Browser.
Also note that there are a few things that don't yet work smoothly because they require other planned 3.5 features. Particularly, changing the theme currently doesn't work well without restarting the app.
Note that the settings database version 11 format is not finalized for the 3.5 release, so if you are doing testing make sure to save a copy of your settings from the 3.4.1 release to import into the final 3.5 release.
During the development process I did over 200 debug builds and tested across 5 different physical devices and several virtual machines. However, the changes are significant enough that I might have misses something. Feel free to build it yourselves and submit bug reports.
The new style using the Day/Night theme has been pushed to Git. https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=74655c0cd0ba72c80ac6c48df55bc3d2f5280ad2
This is the navigation drawer in night mode.
The second hurdle is removing all the coding I had to handle the custom light/dark theme I built years ago. This screenshot shows the mail interface in day mode.
Reworking the app theme to work with Android’s relatively new Day/Night theme is a bit trickier than it might look. First, I had a lot of interface designs that need to be adjusted, like making the navigation drawer move below the status bar instead of sliding under a translucent scrim like it does in the current release. This has all types of implications for things like notches and full screen browsing mode.
For example, right now I am working on switching the theming to use Android's relatively new Day/Night theme. This is more complicated than may be readily apparent, as there was a lot of customizations I made to the theme so that it would work well with both the custom light and dark modes I developed.
I am the principal developer of Privacy Browser, a privacy focused browser for Android.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.