Subscription is not defined
See original GitHub issueWhen running the debugger on a React Native application, it throws a “Subscription is not defined” error.
It occurs right at the import Realm from 'realm'
line.
Expected results
Run the react native debugger on a react native application with realm
Actual results
Got an error right after set debbuger on
Steps to reproduce
Create a react native application on android, import realm and activate the debbuger on Chrome
Versions
Realm: 2.3.0 ReactNative: 0.52.2
I believe that this file is missing a import Subscription from './subscription';
https://github.com/realm/realm-js/blob/10480c1afe73b49dc0d6f2a2876f1bccf6d1b588/lib/browser/index.js#L150
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Subscription is not defined - reactjs - Stack Overflow
I implemented a react-native app, it runs ok. But 'Subscription is not defined' error happened when enabling 'Debug js remotely' in the ...
Read more >Subscription not defined in react native - debug mode #1711
Goals Debugging react native application using realm 2.3.0. The bug is generating when importing realm. All works fine in non-debug mode.
Read more >Subscriptions - Apollo GraphQL Docs
Choosing a subscription library The GraphQL spec does not define a specific protocol for sending subscription requests. The first popular JavaScript library to ......
Read more >Troubleshooting the subscription widget - Recharge Help
If your subscription widget is showing and the preview says Published, you are set up correctly. If not, contact the Recharge support team....
Read more >Not Defined as Subscriber Error - Paul Ou Yang
In SQL 2019, if you create a transnational push subscription to a database that participates in an Availability Group, using the subscriber ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I already downgraded to the version 2.2.15 and the same error persists
Downgrading from realm@2.3.0 to realm@2.2.15 solves this problem for me.