Powering Room with Bundled SQLite
summary
Room KMP uses a bundled SQLite driver that ships a single up‑to‑date native SQLite per app so features (window/aggregate functions) and behavior are consistent across devices, at the cost of added APK size (Play Store delivers only the device ABI). The KMP driver API mirrors C SQLite: driver → connection → statement with explicit bind/get and close lifecycles. Demo shows three concrete drivers: logging driver, asset‑copy driver, and a SQLCipher encryption driver that rejects wrong passwords and opens successfully with the correct key.
AI-written summary · about
chapters (7)
- 0:00Android XQite and Room KMP
- 3:55Android XLI support
- 5:21Driver APIs for SQLite KMP
- 6:48Bundled SQLite benefits
- 8:35Bundled SQLite API usage
- 11:27Demo: logging, encryption, assets
- 15:45Q&A








