Skip to content

Conversation

@kdroidFilter
Copy link
Owner

No description provided.

- 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.
…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.
@kdroidFilter kdroidFilter merged commit 9460b17 into master Jun 15, 2025
1 check passed
@kdroidFilter kdroidFilter deleted the add-downloader-module branch June 17, 2025 05:05
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