electric-sql / pglite

Lightweight WASM Postgres with real-time, reactive bindings.
https://pglite.dev
Apache License 2.0
9.16k stars 194 forks source link

mobile support #408

Open bumberboy opened 1 day ago

bumberboy commented 1 day ago

Thanks for building and maintaining this project!

Is PGLite able to run in the mobile browser at the moment? I can't seem to get it to start reliably in iOS safari. I tried setting lower starting memory limits and that did not help: the site still crashes.

If mobile support is not yet ready, May I know if there's a timeline for that?

Thanks! Eager to build with electricSQL!

samwillis commented 1 day ago

Hey @bumberboy

It should run in Safari, previous testing has worked, but maybe we need to do a little more. I know there can be issues if you try to allocate over 256mb.

Also worth noting that PGlite isn't a requirement for Electric sync. You can use electric to sync into any local store.