Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Huge changes/update #230

Merged
merged 24 commits into from
Dec 7, 2022
Merged

Huge changes/update #230

merged 24 commits into from
Dec 7, 2022

Conversation

androidacy-user
Copy link
Collaborator

Kinda.

  • New black theme
  • New permission check and the ability to opt out of notification permission
  • Update Androidacy integration to match upstream spec
  • Use Cronet for HTTP requests
    • This was multiple times faster for some requests in testing and supports HTTP/3 over QUIC
  • Point to the right Sentry DSN
  • Optimize Sentry integration and make double double sure that nothing is sent if user opts out, and that no PII is sent if user remains opted in.
  • Misc fixes/optimizations not mentioned here

Signed-off-by: androidacy-user <[email protected]>
- General refactoring
- Significant speed improvements using cronet (currently depends on gms and will fallback without)
- Fix androidacy downloads
- More i probably forgot

Androidacy tokens and esp custom ones need more work but this is a good start

Signed-off-by: androidacy-user <[email protected]>
Still need to address custom repo toggling not being saved

Signed-off-by: androidacy-user <[email protected]>
Signed-off-by: androidacy-user <[email protected]>
Plus other refactorings

Signed-off-by: androidacy-user <[email protected]>
Also handles pre-13 devices that have blocked notifications

Signed-off-by: androidacy-user <[email protected]>
Signed-off-by: androidacy-user <[email protected]>
Signed-off-by: androidacy-user <[email protected]>
Very hacky but it's better than it crashing for non-english locales

Signed-off-by: androidacy-user <[email protected]>
Fdroid apparently won't let us attempt to use cronet from gms because something something proprietary AAAAAAAAAAAAAAAAAAAAAAAAAAA

The scream is the two hours I spent resolving the 15189759875195791 conflicts that resulted from the change.

Also, when ANDROIDACY_CLIENT_ID is empty, do not allow the user to enable Androidacy repo and instead show a message suggesting to download official builds. May have to reword for fdroid

Oh, and now no internet actually means no internet and it'll properly notify when repos fail to update.

Signed-off-by: androidacy-user <[email protected]>
Who even messed them up, anyway? *looks away*

Signed-off-by: androidacy-user <[email protected]>
Who even messed them up, anyway? *looks away*

Signed-off-by: androidacy-user <[email protected]>
Note they're pretty heavily rate limited but #betterthannothing

Signed-off-by: androidacy-user <[email protected]>
@androidacy-user
Copy link
Collaborator Author

I feel this is merge ready. Will merge and release.

We ended up including default client keys for androidacy but they're really meant to be changed - debug key has a rate limit of 30 rq/min and fdroid 50 rq/min.

@androidacy-user androidacy-user merged commit 92952e1 into Fox2Code:master Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant