We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i'm trying to implement the BackAndroid and it's not working for me. I did with rn-router-flux but with redux i'm having trouble
Is this a feature to implement or isn't nesessary?
This is what i have so far
app/components/ApplicationTabs/index.android.js
class ApplicationTabs extends Component { constructor(props) { super(props); this._handleBackAction = this._handleBackAction.bind(this); } componentDidMount() { BackAndroid.addEventListener('hardwareBackPress', this._handleBackAction); } componentWillUnmount() { BackAndroid.removeEventListener('hardwareBackPress', this._handleBackAction); } _handleBackAction() { if (this.props.onNavigate.index === 0) { return false; } this.props.onNavigate({ type: 'pop', }); return true; } . . .
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, i'm trying to implement the BackAndroid and it's not working for me. I did with rn-router-flux but with redux i'm having trouble
Is this a feature to implement or isn't nesessary?
This is what i have so far
app/components/ApplicationTabs/index.android.js
Thanks
The text was updated successfully, but these errors were encountered: