Rocket.chat.reactnative: App crashes when Remote JS Debugging turned on

Created on 20 Dec 2018  路  4Comments  路  Source: RocketChat/Rocket.Chat.ReactNative

Steps to reproduce:
(i) Run the app on (ios or android)
(ii) Enable Remote JS Debugging

The app crashes with an error in the realm.js library.

Most helpful comment

@sd1998 Hi, thanks for opening this issue.
What do you need from Remote JS debugging?
Logging or inspect code?
Logging: we already use Reactotron for this and it works in a better way.
Inspect code: it's a problem.
Even when Remote JS debugging was working for us, Realm used to slow down everything.
Realm guys said this is a React Native issue

We are planning to replace Realm with Watermelon DB, so don't worry about it and try Reactotron for logging.

All 4 comments

@diegolmello The fix to this would be either to downgrade realm.js from 2.19.1 to 2.17.0 or this. What should I do?

@sd1998 Hi, thanks for opening this issue.
What do you need from Remote JS debugging?
Logging or inspect code?
Logging: we already use Reactotron for this and it works in a better way.
Inspect code: it's a problem.
Even when Remote JS debugging was working for us, Realm used to slow down everything.
Realm guys said this is a React Native issue

We are planning to replace Realm with Watermelon DB, so don't worry about it and try Reactotron for logging.

Hey @diegolmello do you have any rough timeline when are you going to shift to WatermelonDB?

@saadqbal Nope. It'll take a few months until we switch databases.

Was this page helpful?
0 / 5 - 0 ratings