-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rxdb-premium and react-native-sqlite-2 in expo #4497
Comments
Does it fail on iOS, on android or both? |
On iOS, the error is unhandled exception in ..... index.js it couldn't create the collection for relocation. The 13 Rxdb is working fine ReactNative SQLite2 with the updated expo. I think the plug-ins is not |
Can you enable the logging?
|
the error with log looks like this:
|
Does your premium version differ from your rxdb version? |
it's the same "14.1.2" I will try to remove all the data and install it again. |
I think I found the error. Let me release a new version. |
I released |
Thank you trying it now. |
The typing issue is fixed: The create collection issue still persist:
|
Sorry for the inconvenience. I am working on having everything tested in the CI but running iOS is hard to configure. |
Thank you 🙏 Still failing, the error log is:
|
While reproducing, I stumpled across this problem so it will take me a while to reproduce. Which react-native version are you using? I found that WebSQL logs errors differently, so the error log that you have posted, contains the transaction objects, not the errors. I will make a new release shortly which fixes that. |
I am using latest 0.71.3 - I don't think it is that issue. |
I released 14.1.8 which fixes the error logs and might also fix the error itself. |
Thank you - got the error now:
|
@meabed I found the root cause and I am working on it. I will update you when it is fixed. This will take some days because I have to improve the CI to add tests for WebSQL. |
Thank you so much @pubkey appreciate it. let me know if i can help in anyway. |
I released version |
@pubkey I just tested and it works 🚀 |
Great. I am closing this. If you find any more problems, please |
@meabed hey there. how did you make it work with expo? can you tell me on which versions you are? sdk, expo, react-native and react-native-sqllite2 ? |
Hi,
Rxdb premium fails with react-native-sqlite-2
it only with with https://github.com/ospfranco/react-native-quick-sqlite - ( but react-native-quick-sqlite fails on android / expo )
There is a typing issue ( setPragma ) and it through unknown unhandled error in syncing.
The text was updated successfully, but these errors were encountered: