-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realm Result has no addListener method #729
Comments
This method is broken in chrome debugging but should work otherwise. There is a partial fix in version |
This appears to have escalated in later versions of Realm: If I attempt to use Collection Notifications on Android with chrome debugging on as of 2.21.1, my application crashes with what looks like a |
I'm using Realm 0.15.0 in React Native.
I'm trying to add a listener to a realm result per the documentation [1]. When trying the following:
Using the debugger, I can see that a "Results" object is returned with a "Collection" prototype.
Looking at the Results object methods available in the debugger, I do not see "addListener". It almost looks like the result object matches that of version 0.14.0, but I've verified that I'm using 0.15.0.
output of "head realm/packages.json"
I've also unlinked and relinked the realm module to ensure it's using the current version.
[1] https://realm.io/docs/react-native/latest/#notifications
Is there a reason that the addListener method would not be available?
The text was updated successfully, but these errors were encountered: