Last active
February 7, 2019 10:17
-
-
Save skomarfaruque/a90a890def6c841ad506e318db7bc78e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build APK | |
react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug | |
cd android/ | |
./gradlew assembleDebug | |
gradlew permission | |
chmod 755 android/gradlew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import { NavigationActions, StackActions } from 'react-navigation'
const resetAction = StackActions.reset({
index: 0,
key: null, // <-- this
actions: [NavigationActions.navigate({ routeName: route })]
})
this.props.navigation.dispatch(resetAction)