Open williscool opened 1 week ago
Notes from looking at powersync for this right now. Looks like with their library I can actually get to the database
https://github.com/margelo/react-native-quick-sqlite/blob/8.0.6/cpp/bindings.cpp
https://github.com/margelo/react-native-quick-sqlite/blob/8.0.6/cpp/sqliteBridge.cpp
remembere though powersync uses a fork of
https://github.com/powersync-ja/react-native-quick-sqlite/blob/v1.4.0/cpp/bindings.cpp#L162
also why this wasn't possible with just expo sqlite.
they hardcode the path to be in the /files
directory
want to be able to sync the database so I can do analytics elsewhere (like how many times I snoozed or rescheduled events.
I took a crack at it in #18 but that was a while ago and it seems the electric sql team pivoted to some thing not as good for the use case (literally just want to sync the events database to a remote postgres one)