Skip to content
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

Support Chrome debugging with Sync #1089

Closed
sambwest opened this issue Jun 21, 2017 · 3 comments
Closed

Support Chrome debugging with Sync #1089

sambwest opened this issue Jun 21, 2017 · 3 comments

Comments

@sambwest
Copy link

sambwest commented Jun 21, 2017

I am using react native and I want to use the sync functionality on OSX. When I try to login I get the following error "Cannot read property 'User' of undefined" - if I log React.Sync to the console, sure enough it's undefined.

Realm.Sync.User.login

If I disable remote debugging everything works as I expect it to but it's a nightmare to debug.

Should I be able to use chrome debugger with realm sync?

@sambwest
Copy link
Author

I got a response to this in the realm.io forums: https://forums.realm.io/t/react-sync-missing-when-debugging/379

Seems to suggest that for now you can't use Sync and chrome debug tools in react native. As the majority of react native development is done with chrome tools I have left this open as surely that is an issue?

@bmunkholm
Copy link
Contributor

Thanks for that. It surely is.

@bmunkholm bmunkholm changed the title React.Sync missing when debugging Support Chrome debugging with Sync Jul 4, 2017
@sambwest
Copy link
Author

This is old seems to have been resolved ages ago. I'm going to close it.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants