-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Moved bloom filter binary to Play flavor #1120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@subsymbolic can you take a look at this when you have the chance? Let me know if I'm missing something. Installing both variants has worked for me and all https upgrades happen as expected |
|
I like your approach here! I wonder if we could split the logic at a more relevant spot though to avoid duplicating code, as it would be easy for someone to update the main implementation and forget about the FDroid one. So rather than duplicating the Does that make sense? |
|
Oh that's actually a great idea @subsymbolic! Makes sense that the only difference is the embedding part, so I'll make that the variant between FDroid and Play. |
|
@subsymbolic I think this looks cleaner now, let me know what you think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @malmstein. I added a couple of log statement suggestions. No need to rereview when they're done, just merge when you're ready.
Task/Issue URL: https://app.asana.com/0/1157893581871903/1199944591737638
Description:
F-Droid has flagged
https_mobile_v2_bloom.binin their build system. We can't have an embedded binary as part of the apk we send them.This means that, anyone installing the app from F-Droid won't get the initial Http to Https upgrade until the data is downloaded in the background.
Play Store users will still get the initial protection the binary brings.
To solve this, we are creating a separate
HttpsDataPersisterfor the FDroid flavour, which will not store the upgrades embedded in the apk.Internal references:
Software Engineering Expectations
Technical Design Template