Integrate latest version of gplayapi lib to benefit from Web based API
Description
Integrate latest version of gplayapi lib to benefit from Web based API.
We are now using the Web based API to list apps, show details, make searches, list categories, list apps in categories.
We are using the Authentication based API only to download apps.
This will allow us to limit the number of requests we are doing to the Google Play Store, prevent our tokens from being banned by Google.
Screenshots
Technical details
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/2777
10 commandments of code reviews
Summary by CodeRabbit
Release Notes
-
New Features
- Introduced a new loading UI management method in the HomeFragment for improved user experience.
- Enhanced search functionality with filtering of blank application names in search results.
-
Bug Fixes
- Simplified method calls in various classes to improve clarity and reduce complexity.
-
Refactor
- Updated dependency versions for libraries including Hilt and Room.
- Streamlined the handling of HTTP headers in the GPlayHttpClient class.
- Removed unnecessary methods and constants from the SearchApiImpl class to enhance efficiency.
- Improved error handling and data loading processes in the SearchViewModel.
- Enhanced the overall architecture by reducing direct dependencies on authentication data in PlayStoreRepository.
- Updated plugin versions in the build.gradle file for better compatibility.
- Added a method to capitalize category titles in the ApplicationFragment for improved UI presentation.
Edited by Jonathan Klee