Skip to content

Conversation

@caglar09
Copy link
Owner

This commit removes the native SQLite dependency for job queuing on both Android and iOS platforms and replaces it with WatermelonDB.

Key changes include:

  • Added WatermelonDB and its dependencies.
  • Defined a WatermelonDB schema for jobs.
  • Implemented a new WatermelonDBJobStore that uses WatermelonDB for all database operations (add, get, update, delete jobs).
  • Updated src/Queue.ts to use the new WatermelonDBJobStore, making its methods asynchronous where necessary.
  • Removed all native Java code related to SQLite and Room from the android directory.
  • Removed all native Swift and Objective-C code related to SQLite from the ios directory.
  • Updated Android build files (build.gradle) to remove Room dependencies.
  • Updated iOS project files (project.pbxproj, .podspec) to remove references to native source files and SQLite dependencies.

This change moves all database logic to the JavaScript side, simplifying the native layer and leveraging WatermelonDB for cross-platform data persistence.

google-labs-jules bot and others added 2 commits May 23, 2025 06:49
This commit removes the native SQLite dependency for job queuing on both Android and iOS platforms and replaces it with WatermelonDB.

Key changes include:
- Added WatermelonDB and its dependencies.
- Defined a WatermelonDB schema for jobs.
- Implemented a new `WatermelonDBJobStore` that uses WatermelonDB for all database operations (add, get, update, delete jobs).
- Updated `src/Queue.ts` to use the new `WatermelonDBJobStore`, making its methods asynchronous where necessary.
- Removed all native Java code related to SQLite and Room from the `android` directory.
- Removed all native Swift and Objective-C code related to SQLite from the `ios` directory.
- Updated Android build files (`build.gradle`) to remove Room dependencies.
- Updated iOS project files (`project.pbxproj`, `.podspec`) to remove references to native source files and SQLite dependencies.

This change moves all database logic to the JavaScript side, simplifying the native layer and leveraging WatermelonDB for cross-platform data persistence.
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