Christiaan Landman
Christiaan Landman
I guess we can try to make a PR for this? Since there are examples on how to do this.
@kobiebotha @stevensJourney I've updated the readme, schema comment about switching, and allowed the app to work without specifying credentials in which case login/sign up is disabled.
> Good work! Much needed for a seamless experience. I'll try to implement for my app (Typescript). Hey @guillempuche, a JS/TS version is on the one in the coming weeks...
There is currently a bug where if the user logs in immediately without creating data, existing data doesn't sync down. Edit: The issue pertains to the .connect() in powersync.dart resolving...
> @Chriztiaan, for defining locally a user id (fingerprint), it can be done with FingerprintJS https://dev.fingerprint.com/docs/identification-vs-fingerprintjs. I'm not sure if this can help you on the Typescript example. This is...
Using new version `sqlite_async` that has `refreshSchema`. Updated powersync package to allow invocation of `refreshSchema`. Added a [test](https://github.com/powersync-ja/powersync.dart/blob/12ddde23e97fdee3c2fcce95319e586cda4a0082/packages/powersync/test/offline_online_test.dart#L145), and using `refreshSchema` after the schema has been updated in the app.
So turns out you need to install js-logger and configure/apply it, alternatively you can have the include rule. I think we should just add the include rule everywhere for the...
Looks like there is work being done on this [here](https://github.com/vitejs/vite/pull/17837) to resolve the underlying exclude issue.
I have had the dev release of this work tested by @Omnicpie. Feedback was positive.
As discussed on Discord, https://github.com/powersync-ja/powersync-js/pull/604 aims to cover the needs mentioned by this issue.