Exception com.facebook.react.common.JavascriptException: Error: Cannot call database.adapter.underlyingAdapter while the database is being reset
I can see multiple crashes in the play store with the above stack trace, I am using watermelon DB in react native.
what might causing this issue?
For this to occur two things need to happen:
await database.unsafeResetDatabase()withObservablesHOC gets mounted and makes a database request.So you have to check which component gets mounted during the reset process.