React Native behavior excellent in simulator / on device / with or without Chrome debugging

I am building a React Native application (currently only iOS) and I found a very nasty bug that only appears when 1.) works on a real device and 2.) works without debugging Chrome. (Oh really?)

I use tab-react-native-router-flux and when I click on the button that loads the new tab route ( Actions.tabRouteName), the screen goes blank. As I said, it works great in the simulator as well as on the device when I turn on Chrome debugging.

Other things I tried: working on another device, rebooting JS, rebuilding the application in Xcode.

For any reason, the behavior will be different in different cases?

Thanks.

Update : It seems to be related to animation and route switching. In this release of Github, I posted more details . I also found anecdotal support for the idea that other people face similar debugging issues in this Github issue .

+4
source share
1 answer

For any reason, the behavior will be different in different cases?

, , Chrome, RN ( JavaScript V8) ( ) WebSockets. , JavaScript Core. , , JS, , .

+2

Source: https://habr.com/ru/post/1626878/


All Articles