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

The TsExample shows realm constructor must not return another value during debug with chrome #4225

Closed
lamhtf opened this issue Jan 15, 2022 · 1 comment

Comments

@lamhtf
Copy link

lamhtf commented Jan 15, 2022

I download the git template by
npx react-native init TsExample --template react-native-template-realm-ts

The package json with "react-native": "0.66.4", (suppose this to be a latest version of realm ts template)

After started the app i enabled the debug with chrome option.
I did not modify any code.

I can start the app normally

But after i tried to add any task description, the screen shows this error
realm constructor must not return another value

@takameyer
Copy link
Contributor

Hello @lamhtf :) Unfortunately, Realm does not work with the Chrome debugger, since we have to extend the native JS Engine. We had a workaround, but it is very unstable and we are currently removing all support for it.

Realm does work well with the safari debugger and flipper.

@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