Radek Pietruszewski

Results 255 comments of Radek Pietruszewski

make absolute sure that JSI is *really* enabled. run a profiler from android studio to find out where the time is being spent. remember that an average Android device is...

> How can I find out how much of that 100ms is spent blocking? use a profiler :)

no, a real profiler. If you want to see threading issues (ie, this extends outside of JS), it has to be a native profiler, like Instruments.app

@mfbx9da4 Correct, Instruments won't show you the exact contents of what JS VM is doing, but it will show you if main thread is blocked - and that's what you...

It's in installation docs + added more helpful error message here: https://github.com/Nozbe/WatermelonDB/pull/1522

Closing for now, will reopen if someone has this issue with latest 🍉/RN>=0.66 and tried what was discussed above

@johnf Which 🍉 version? Are you using other JSI libraries? New Architecture?

@riderx This is the native side of React Native bridge: https://github.com/Nozbe/WatermelonDB/blob/master/native/ios/WatermelonDB/DatabaseBridge.m and this is the JS side: https://github.com/Nozbe/WatermelonDB/blob/master/src/adapters/sqlite/makeDispatcher/index.native.js Everything else should be more or less React Native agnostic, so if...

@riderx I have no clue how capacitor plugins look like, but I would not like to import another SDK to WatermelonDB repo. So yes, you'll probably want to make a...