Version
- react-native-router-flux v3.2.7
- react-native v0.22.2
Expected behaviour
No error when pushing
Actual behaviour
I've got my basic tabs working but when I try to push another scene, say Actions.logout I get the error route.children.forEach is not a function. This is in getInitialState() in State.js, where it is expecting route.children to be an array but instead it's just the string "Logout".
I'm also getting the warning Key root is already defined! for all my scenes multiple times when the app starts up. Perhaps this is the cause of the error? Maybe I need to move my router definition to the top-level component to make sure it never rerenders the router stuff?