I am really not able to use react-native-navigation because when I click on the different icons at the bottom I can't fire an event or events. Really need this ability. ETA on this?
It's actually been implemented on Android for quit some time, and wasn't implemented on iOS due to time constraints.
class FirstTabScreen extends Component {
...
onNavigatorEvent(event) {
if (event.id === 'tabSelected') {
// Handle tab selected
}
}
}
I am working on iOS and would really like the feature to be available on iOS as well. Thanks a lot!
We implemented this on iOS (kind of) using about 10 lines of code, see branch here: https://github.com/3sidedcube/react-native-navigation/tree/feature/view_lifecycle
@simonmitchell Will it accept as official release?
Thanks a lot guys!
Please place a pull request. It will helps us to review your changes.
Have any plan for adding this feature? Great Thanks ! @guyca
Done, N-Joy!
Awesome!
Most helpful comment
Done, N-Joy!