Pop gesture not working
Issue Description
I am looking to enable to swipe to go back on iOS. However the gesture is doing nothing. I am using a bottomTabs
Set Root:
const TabRoutes = () => {
Navigation.setRoot({
root: {
bottomTabs: {
children: [
{
stack: {
children: [
{
component: {
name: 'ExploreScreen',
},
},
],
options: {
bottomTab: {
text: 'Explore',
icon: require('../images/home.png'),
selectedIconColor: Colors.primary,
selectedTextColor: Colors.primary,
iconColor: Colors.lightGrey,
textColor: Colors.lightGrey,
}
}
},
},
{
stack: {
children: [{
component: {
name: 'SettingsScreen',
},
}],
options: {
bottomTab: {
text: 'Settings',
icon: require('../images/settings.png'),
selectedIconColor: Colors.primary,
selectedTextColor: Colors.primary,
iconColor: Colors.lightGrey,
textColor: Colors.lightGrey,
}
}
},
}
],
options: {
bottomTabs: {
backgroundColor: '#fafafa'
},
}
}
}
});
};
Screens are pushed
goToListingScreen(location) {
Navigation.push(this.props.componentId, {
component: {
name: 'ListingScreen',
passProps: {
location
}
}
});
}
Screens are registered:
const RegisterScreens= () => {
Navigation.registerComponentWithRedux('AuthScreen', () => AuthScreen, Provider, store);
Navigation.registerComponentWithRedux('ExploreScreen', () => ExploreScreen, Provider, store);
Navigation.registerComponentWithRedux('SearchScreen', () => SearchScreen, Provider, store);
Navigation.registerComponentWithRedux('ListingScreen', () => ListingScreen, Provider, store);
Navigation.registerComponentWithRedux('SettingsScreen', () => SettingsScreen, Provider, store);
Navigation.registerComponentWithRedux('MembershipScreen', () => MembershipScreen, Provider, store);
Navigation.registerComponentWithRedux('SuccessScreen', () => SuccessScreen, Provider, store);
Navigation.registerComponentWithRedux('ProfileScreen', () => ProfileScreen, Provider, store);
Navigation.registerComponentWithRedux('CurrentVisitScreen', () => CurrentVisitScreen, Provider, store);
Navigation.registerComponentWithRedux('PastVisitsScreen', () => PastVisitsScreen, Provider, store);
Navigation.registerComponentWithRedux('SupportScreen', () => SupportScreen, Provider, store);
Navigation.registerComponentWithRedux('LocationButton', () => LocationButton, Provider, store);
Navigation.registerComponentWithRedux('MapScreen', () => MapScreen, Provider, store);
Navigation.registerComponentWithRedux('SetLocationScreen', () => SetLocationScreen, Provider, store);
};
Steps to Reproduce / Code Snippets / Screenshots
[FILL THIS OUT]
Environment
- React Native Navigation version: FILL THIS OUT
- React Native version: FILL THIS OUT
- Platform(s) (iOS, Android, or both?): FILL THIS OUT
- Device info (Simulator/Device? OS version? Debug/Release?): FILL THIS OUT
This will be fixed when #4568 is merged.
@rawrmaan Thank you for the update!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
Going to go ahead and close this. This is a known issue and there are several issues about it.