I am creating a react-native app using expo
Backhandler works well in EXPO, but does not work in built APK.
Works well published apps inside the expo and with the expo start
If create an APK using expo build:android
, the Backhandler will not work and the app will shut down immediately.
I create a tabnavigator named HOME and put the HOME in the MAIN STACK
"dependencies": {
"expo": "^30.0.0",
"firebase": "^5.5.2",
"prop-types": "^15.6.2",
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
"react-native-app-intro-slider": "^1.0.1",
"react-native-elements": "^1.0.0-beta5",
"react-native-modal": "^6.5.0",
"react-navigation": "^2.17.0",
"react-navigation-transitions": "^1.0.5"
}