Tell us which versions you are using:
"react-native-router-flux": "^3.37.0",
"react-native": "0.37.0",
App runs great, fast and smooth on iPhone 7, iPhone 7 Plus iOS 10.2, as well as Samsung Galaxy S7.
However on iPhone 6 it takes about 4-7 seconds for transitions...
No console.log
anywhere.
Any suggestions?
try doing expensive js operations in here:
componentDidMount() {
InteractionManager.runAfterInteractions(() => {
// expensive js -here-
})
}
@salincakli
Moving some network requests to InteractionManager.runAfterInteractions
seemed to help a bit, but not enough.
Any more things I could try?
I would also like to mention that this delay seems to happen BEFORE the transition. It's like you click a view to change scenes... 2.5 seconds later... THEN you see the transition. Driving me nuts!
I have the same issue with Samsung Galaxy S7 ! It works perfectly on Iphone by the way
Most helpful comment
try doing expensive js operations in here:
componentDidMount() {
InteractionManager.runAfterInteractions(() => {
// expensive js -here-
})
}