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

Auto-purchase free apps upon checking license #2375

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

fynngodau
Copy link
Contributor

Adds support for auto-purchasing free apps, and adds preference to enable auto-purchasing. Inspired by the implementation in gplayapi. Fixes https://gitlab.e.foundation/e/backlog/-/issues/7949.

To keep the code readable, I did a major refactor and converted the code to be written in Kotlin and use coroutines (thanks to the now-existing HttpClient class). As positive effects, the licensing code is now much shorter, easier to understand due to its clearer logical flow and no longer visibly consists of loads of nested callbacks and recursive calls.

cc @jonathanklee

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.

None yet

2 participants