-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Debug JS Remotely #15805
Comments
I think, it's not a bug, it is a feature. For example,
In production mode, you would not need to have redundant script included. Also, try the following configuration in gradle:
|
@iegik I think it is a bug because , I use If you think it is a feature , Why we lost BackHandler on android when remote debug is off? (See #15497) |
@sm2017 You can also try to debug with Android Monitor or logcat |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Just fyi for people finding this issue via Google, the problem as I understand it is Long story short, use a polyfill for now like |
A possible polyfill solution is mentioned here |
Is this a bug report?
(Yes , 100000000%)
Have you read the Contributing Guidelines?
(Yes)
Environment
react-native -v
:node -v
:npm -v
:yarn --version
:Then, specify:
react-native run-android
Steps to Reproduce
You cannot easily reproduce error , this is a random cryptic error
Expected Behavior
Executing JS code must not depends on remote debug , So works well when remote debug is off or on
Actual Behavior
For android when remote debug is ON , code works and when OFF not works
Foe more information see:
https://medium.com/@jordan_mohi/cant-find-variable-symbol-in-react-native-782489d86bd7
#15786
#15497
Reproducible Demo
(N/A)
The text was updated successfully, but these errors were encountered: