NameTaken
NameTaken

Reputation: 567

Debugging React Native Android source code

I am trying to debug React Native's Android source code. But no matter what changes I make to the source code, it doesn't show up in logcat when running the app. Does anyone know if I have to rebuild the library itself every time I want to see a change?

On iOS any source code changes are instant.

Upvotes: 0

Views: 205

Answers (1)

Apurva jain
Apurva jain

Reputation: 1590

To debug react native andriod's source code you need to make a new build everytime you change native code.

In case you make changes in react native javascript code you don't need to rebuild, just do a reload (open our app in emulator - press RR)

I hope this helps. If not please let me know more about your requirement.

Upvotes: 2

Related Questions