Last active
January 28, 2019 10:32
-
-
Save abhishekgargx/447727a32e284c24346ec6d1a83feefe to your computer and use it in GitHub Desktop.
React Native | react-native-router-flux | Redux | Android Back button listener ,handle back press on android while using react native.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@abdullateef97 from line 30 - 36, i taking back press input two times from user to confirm he want to go back or not. it is nothing more than user experience, for example if he mistakenly pressed backpress application wont exit, it will ask to press back again with in 2 sec to exit . kind of confirmation . like we usually saw in website (do you want to exit ) yes or no press dailog.