Merged
Conversation
- Introduced a new `downloader` module for KDroid Database with multiplatform support (JVM, Android). - Configured publishing to Maven Central. - Updated `libs.versions.toml` to bump `gplayscrapper` to version `0.3.2`.
- Added `DatabaseDownloader` class to centralize database downloading from GitHub releases. - Refactored `SqliteStoreBuilder` to utilize the new downloader for fetching store and policies databases. - Documented downloader usage and examples in `README.md`. - Updated `store` module dependencies to include the new `downloader` module.
…baseDownloader`.
…oroutines for database operations. - Enhance error handling with improved logging for failed app info fetches. - Deduplicate `runBlocking` usage in database builder and downloader methods. - Update `ApplicationsDao` and model processing for better readability and maintainability.
- Introduced `DatabaseVersionChecker` to verify if the database version is aligned with the latest GitHub release. - Extracted GitHub repository constants into `GitHubConstants` for reuse across the `downloader` module. - Updated `DatabaseDownloader` to utilize `GitHubConstants` for cleaner code. - Added a test entry point to demonstrate `DatabaseVersionChecker` functionality.
- Introduced `VersionDao` for database version management (retrieval and updates). - Enhanced `SqlDriverFactory` to validate and download database files during initialization. - Integrated `DatabaseUtils` for common operations like file existence checks and conditional downloads. - Updated `App.kt` to ensure database version is validated before loading applications. - Included `downloader` module dependency in `composeApp`. - Improved error handling and logging for database update operations.
- Added detailed documentation for the DAO module, including its purpose, key components, and usage examples. - Highlighted `ApplicationsDao`, `VersionDao`, and `AppInfoWithExtras` as core entities for database operations. - Provided important notes on using sample code and contributions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.