Rob Soden

Results 10 comments of Rob Soden

wanted to post some updates here as we just completed a successful upgrade to replicache 14 on react-native. here are the workarounds to everything we ran into: - there's a...

@darioielardi glad it was helpful! so I'm using the following: `"@react-native-replicache/react-native-quick-sqlite": "^1.0.0"` `"react-native-quick-sqlite": "^8.0.4"` and then I've used patch-package to apply those 2 changes to the ReplicacheQuickSQLiteTransaction class (since my...

oh and also FWIW here's my replicache instantiation, nothing really unique here: ``` const replicache = new Replicache({ licenseKey: Config.REPLICACHE_LICENSE_KEY ?? '', experimentalCreateKVStore: createReplicacheReactNativeQuickSQLiteExperimentalCreateKVStore, name: 'your-project', mutators, pullInterval: null, puller:...

Anyone else working with Repliache and react-native may have also noticed that react-native-quick-sqlite has recently been deprecated, with the maintainer suggesting a migration to op-sqlite (https://github.com/ospfranco/react-native-quick-sqlite) quick-sqlite was the main...

my concern is not necessarily with the "slowness" of the individual calls to the HTTP service, it's that the plugin seems to not be sending requests until the user opens...

the issue only occurs when the app is backgrounded - when it's in focus sync works fine (which negates my need to call it manually) what i'm hoping to understand...

if the problem is with my server I would love to better understand why everything works fine when the app is in the foreground. it's the same server, same endpoint....

ah, finally figured it out. `react-native-quick-sqlite` removed `transactionAsync` in [this commit](https://github.com/ospfranco/react-native-quick-sqlite/commit/88ff3b6b6ee05a1864124dd527454708142c560f) which was a breaking change from version 8.0.0-beta.2 that was used in this sample project. downgrading has solved the...

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...

I've gotten it to work successfully mocking it this way: ``` jest.mock('reactotron-react-native', () => { return { configure: jest.fn().mockReturnThis(), setAsyncStorageHandler: jest.fn().mockReturnThis(), useReactNative: jest.fn().mockReturnThis(), use: jest.fn().mockReturnThis(), connect: jest.fn().mockReturnThis(), onCustomCommand: jest.fn(), }...