Questions tagged [react-native-tools]
13 questions
13
votes
3 answers
Can't debug expo project on vscode
I have an expo project, which we can run and build and it works correctly in android and iOS. What I want is to debug said project using my Visual Studio Code.
I followed some guides and tried the following:
Adding React Native Tools extension in…

Rodrigo Brickman
- 163
- 1
- 1
- 8
4
votes
0 answers
How to configure React Native Tools to use app.config.js instead of app.json
I am debugging my React Native expo application with the following launch.json configuration in vscode:
{
"name": "Debug in Exponent",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "exponent",
…

Titulum
- 9,928
- 11
- 41
- 79
3
votes
1 answer
How to debug react-native-web with Expo and vscode?
I am trying to find how react-native-web apps (specifically using Expo and vscode) can be debugged.
I found guidance neither in the web, nor in the react-native-web's own site.
The debug configuration that comes with the React Native Tools aims to…

Mehmet Kaplan
- 1,723
- 2
- 20
- 43
3
votes
0 answers
React native vscode extension not working after few minutes
Vscode react native extensions stopped after few minutes like import relative path suggestions ,go to definition, style suggestion, constant redirect.
I already tried to reinstall all the react native extensions.
this issue occurs only one project…

Jomi Moses
- 43
- 5
1
vote
1 answer
com.facebook.react.commot.JavascriptException: Invalid or unexpected token
I'm trying to debug my android app with react native v0.66.1 and react native tools v1.8.1 in vsCode. But after running the app and attach to packager, or launch in debug mode,
I got this error com.facebook.react.commot.JavascriptException: Invalid…

Er.Rohit Sharma
- 696
- 5
- 21
1
vote
1 answer
breakpoints are greyed out vs code react-native-tools debug
No matter if I choose "Attach to packager" configuration running packager with
react-native start
first or "Debug Android", breakpoints that I set in vs code are greyed out and are not get hit.
Here is information I am getting from Debug…

eugenekr
- 6,260
- 3
- 21
- 26
1
vote
1 answer
React Native Tools VSCode Debugging Issue
Hope someone could help me out a little. I am trying to do some mobile development using react native, I am a C# web/software developer. I am developing using VSCode and installed the react native tools extension on Windows 10.
I created my…

Rudolph Opperman
- 197
- 1
- 1
- 15
0
votes
0 answers
[Rocket.Chat react native - single server]App freeze on debug after login
I use Visual Studio code with react native tools for debugging the app.
When I go into the dev menu, then I click on "debug" and the stat reload, when I login, the app freeze when I click on "Login", after the loading animation.
I have this on my…

Rotomeca
- 1
0
votes
1 answer
Toast React Native from 'react-native-toast-notifications'
I use react-native-toast-notification from https://github.com/arnnis/react-native-toast-notifications#readme
I want customized toast, if successful to show a green toast, while on failure a red toast like on photo.
My code in App:
import {…

Manche
- 47
- 2
- 10
0
votes
0 answers
React-Native Realm DB - exception only in debug mode upon insertion: "_id field must be of type 'uuid', got 'object' ([object Object])"
I am building a React-Native app that uses Realm DB as the underlying database.
While implementing basic insertion methods I encountered exceptions when attempting to insert a new object with a unique identifier - while using UUID/ObjectId (same…

Ethan K
- 131
- 1
- 9
0
votes
2 answers
How to update other fields based on a field value in forms of React Native?
I have 4 input fields as below.
name,count,amount,price.
And two text fields, commission and total.
If user enter values at price and count then amount(price * count) should be calculated.
If user enters values at price and amount then count (amount…

uday
- 569
- 1
- 6
- 16
0
votes
1 answer
Extension host terminated unexpectedly while debugging React-native project
Developer console when the error occurs.
Any methods without disabling react-native-tool extension?

Punyaslok
- 51
- 5
0
votes
1 answer
React-native debug build crash on start: Error: java.lang.NoClassDefFoundError: com.facebook.react.modules.fresco.SystraceRequestListener
I am trying to create a debug build of my app in react-native. It worked previously and the problem started after I used react-native-tools extension package for VSCode text editor and attached its debugger for debugging. The error doesn't occur…

M.S. Nikhil
- 181
- 11