Closed robsoden closed 6 months ago
ah, finally figured it out.
react-native-quick-sqlite
removed transactionAsync
in this commit which was a breaking change from version 8.0.0-beta.2 that was used in this sample project.
downgrading has solved the issue. it might be a simple fix to just change to transaction
, will submit a PR if I can prove it out.
ah, finally figured it out.
react-native-quick-sqlite
removedtransactionAsync
in this commit which was a breaking change from version 8.0.0-beta.2 that was used in this sample project.downgrading has solved the issue. it might be a simple fix to just change to
transaction
, will submit a PR if I can prove it out.
Hey @robsoden, sorry to hear you had problems! I suspect what you're describing would fix the issue; I'd need to take a deeper look to confirm though.
hello again!
@Braden1996 some further updates here - even after downgrading and getting the project up and running, I was plagued by frequent "unhandled promise rejection" yellow box warnings where react-native-quick-sqlite would error out due to transaction issues. In additions to the warnings, sometimes the data just wouldn't load from the database to the UI.
I finally went ahead and upgraded to the latest package and replaced the deprecated transactionAsync
call in your code and it seems to be very solid now.
I went ahead and submitted a PR if that's helpful! https://github.com/Braden1996/react-native-replicache/pull/6
Thanks again for your work on this package!
Hey @robsoden, thanks for this - super helpful! I'll try take a look this weekend at the PR and hopefully we can get this merged :)
hello again!
@Braden1996 some further updates here - even after downgrading and getting the project up and running, I was plagued by frequent "unhandled promise rejection" yellow box warnings where react-native-quick-sqlite would error out due to transaction issues. In additions to the warnings, sometimes the data just wouldn't load from the database to the UI.
I finally went ahead and upgraded to the latest package and replaced the deprecated
transactionAsync
call in your code and it seems to be very solid now.I went ahead and submitted a PR if that's helpful! #6
Thanks again for your work on this package!
Sorry I took so long on this! I've deprecated quick-sqlite in favour of op-sqlite!
I'm attempting to implement the react-native-quick-sqlite package and the replicache instantiation fails, throws the following warning:
I've been unable to locate the source of it as the stack trace is very generic and all inside core react-native module files
here's my implementation:
here is my package.json dep list:
i've added the
expo-crypto
polyfill as per the exampleany help appreciated! thanks!