aspen-cloud / triplit

A full-stack, syncing database that runs on both server and client. Pluggable storage (indexeddb, sqlite, durable objects), syncs over websockets, and works with your favorite framework (React, Solid, Vue, Svelte).

Home Page:https://triplit.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native Mobile Support

knuckolls opened this issue · comments

Feel free to close this issue if this is documented somewhere and I missed it. I like the idea here but I found nothing about android support. Is the idea that if you want mobile app support that you should use react native? That's not an option for me but it would be very nice to have some sort of integration with Compose / modern android primitives.

We don't currently have native, non-JS environment support but it's absolutely something we plan to support in the future.

Does that mean react-native works with triplit?

@jessebrennan its not officially supported, but we plan to in the near future. Mobile is obviously a great fit for Triplit. I don't know if @matlin has experimented with it, but it wouldn't surprise me if there's some compatibility issues here and there as we've mainly developed Triplit with the browser and node in mind. But if you're feeling ambitious, you can definitely try it out.

As former RN devs, we're excited about supporting it soon.

@jessebrennan I started experimenting with this today. Are you interested for support with Expo or bare RN?

An "ejected" expo app.

Hi @jessebrennan I moved the discussion of RN support to #56.

Included there is a link to how to get setup with Triplit and Expo.