opened
laurisaarni
username_0
Please see the issue https://github.com/realm/realm-js/issues/1711.

Using realm version 2.2.15 fixes the bug.
A bug in Realm js version crashes the app when using remote debugger.  
issue
created
billmalarky
username_1
Looks like that may not resolve it.

https://github.com/realm/realm-js/issues/1711#issuecomment-377091874
comment
created
saarnilauri
username_2
@username_1 In my case, I had a dependency to Realm in my package.json and to react-native-queue when I changed mine and react-native-queue to use 2.2.15 the problem was gone. I'm not sure if the user claiming it did not work had a similar use case.
comment
created
juliancorrea
username_3
About this issue, see this: https://github.com/facebook/react-native/issues/11989#issuecomment-314111441

The commit that solve the problem is: https://github.com/realm/realm-js/pull/1744/files/aed0fa5cd97db9d19b6951815f369ff943d82d20 e was merged on master.

However, there is no release with it, so I've change the file realm/lib/browser/index.js until a new release.

Its necessary change the realm/lib/user.js, commenting  the line 45, because the 'Cannot redefine property: logout' problem.
comment
created
maxhalty
username_4
Hi Guys! do you know when the next release will be? We really need this fix and for now we are commenting the line but that's not a good fix for our team.
comment
created
billmalarky
username_1
@username_2 To be clear, if I explicitly set the realm dependency in package.json to "2.2.15" as in the PR below (I'll increment the patch version directly on master) this should resolve the issue to your knowledge (assuming people nuke node_modules and rerun yarn or npm install)?

https://github.com/username_1/react-native-queue/pull/19
comment
created
billmalarky
username_1
Realm is on 2.4.0 now, is this still even an issue?
comment
created
Shubham-Sinha
username_5
Use this ``adb logcat *:S ReactNative:V ReactNativeJS:V BackgroundTask:V`` to log and debug
comment
created
saarnilauri
username_2
Fine by me
comment
closed
billmalarky
username_1
issue
created
billmalarky
username_1
👌
comment