Implement SQLite-based image loader for Android #245
Labels
📍 Android
Platform-specific: Android
🗂 Enhancement
Type: New features, improvements to the product
🚩 Help wanted
Particularly amenable/appropriate for contributors
We store attachments as BLOBs along with prompts in a flat-file SQLite database (see #243). To display them at runtime, we render an
<Image>
which points to a specialx-orbit-sqlattachment://
URL. We then implement anRCTImageURLLoader
(on iOS) to resolve that URL by fetching the BLOB from the database: seeORSQLImageURLLoader
.We need to implement the equivalent image URL loader on Android.
To test:
yarn dev
inbackend
yarn web
inapp
yarn dev
inweb-component
yarn android
, sign in as[email protected]
/testtest
. You should see the attachments as expected.The text was updated successfully, but these errors were encountered: