Skip to content
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

Common 2.0.1 integration #421

Merged
merged 8 commits into from
Jun 6, 2024
Merged

Common 2.0.1 integration #421

merged 8 commits into from
Jun 6, 2024

Conversation

dzolnai
Copy link
Collaborator

@dzolnai dzolnai commented Jun 6, 2024

  • Updates the common library to 2.0.1
  • Searching is now done through the library instead of being done on the Android side
  • We now correctly clean up the connection in common
  • Fixed a few minor bugs, and did quite some code cleanup due to features not being used anymore

This commit removes the local searching, since the common library will be doing that for us from now on.
Also I removed the custom JSON [de]serializing code, since we do not need to cache the lists anymore. Because of these changes, we were able to clean up quite some code on the Android side
Adds the cleanup call, and fixes some incorrect 'disconnect' status notifications in the UI and backend.
This was mostly due to the UI requesting a status update immediately from the ViewModel, which then triggered a status update with the disconnected state.
Another issue was an incorrect VPN level to status mapping, where we incorrectly treated the 'no network' level as a disconnected state, while actually it was connecting.
@dzolnai dzolnai changed the title Common 2.0 integration Common 2.0.1 integration Jun 6, 2024
@dzolnai dzolnai merged commit 6192d80 into master Jun 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants