Subscription not defined in react native - debug mode
See original GitHub issueGoals
Debugging react native application using realm 2.3.0. The bug is generating when importing realm. All works fine in non-debug mode. In 2.2.15 debug works ok.
exports.default = Realm; util.createMethods(Realm.prototype, _constants.objectTypes.REALM, [‘addListener’, ‘removeListener’, ‘removeAllListeners’, ‘close’, ‘_waitForDownload’, ‘_objectForObjectId’]); util.createMethods(Realm.prototype, _constants.objectTypes.REALM, [‘delete’, ‘deleteModel’, ‘deleteAll’, ‘write’, ‘compact’, ‘beginTransaction’, ‘commitTransaction’, ‘cancelTransaction’], true); var Sync = { User: _user2.default, Session: _session2.default, Subscription: Subscription }; index.bundle?platform=ios&dev=true&minify=false:13121 Subscription is not defined
Actual Results
Steps to Reproduce
Code Sample
Version of Realm and Tooling
- Realm JS SDK Version: 2.3.0
- Node or React Native: 0.54.2
- Client OS & Version: ios simulator
- Which debugger for React Native: React native debugger
Issue Analytics
- State:
- Created 6 years ago
- Reactions:25
- Comments:38 (8 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 >Debugging - React Native
To use a custom JavaScript debugger in place of Chrome Developer Tools, set the REACT_DEBUGGER environment variable to a command that will start ......
Read more >Analytics for React Native 2.0 | Segment Documentation
When you successfully package a plugin in device-mode, you won't see the integration listed as false in the integrations object for a Segment...
Read more >Debugging React Native with react-native-debugger
1. How do I debug in React Native? ... To open the Developer Tools, go to the Chrome Menu and select Tools ->...
Read more >Debugging React Native with VS Code - LogRocket Blog
If you are using Expo, nothing will work yet, and npx react-native doctor won't help you find the issue. To fix this, choose...
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 downgraded from 2.3.0 to 2.2.8 using npm: install realm@2.2.8 and after that run: react-native link it redownloaded the cocoa packages and it worked fine for me good luck 🥇
2.3.3 still not fixed, same issues. I really don’t understand how everyone(besides us here) using 2.3.3 can debug their realm application. How does the realm team debug their application in react native with 2.3.3