- Check the behavior and logs
- Check any suspicious error is showing up on log
- Check the setting on Android
- Check any settings are missing on the file below
- settings.gradle, build.gradle, app/build.gradle, MainApplication.java, MainActivity.java
- Read documents
- Create RN project from scratch and check the diff between our project
- Check document of CodePush and React Native Navigation(which are the largest diff on the Native side)
- Simplify/breakdown codebase to triage the bug
- Remove anything related to React Native Navigation
- Add simple
AppRegistry
in index.android.js and remove any other code to see if the app runs correctly
At the point of #4, I found the app still keeps reloading even though everything is same with a newly created RN project on the Native side so I realized the issue is on the JS side. Removed all imports from index.android.js, add them back one by one and ran the app until I find yellowBoxWarning
is causing this issue.