How can I kill app programatically.

I tried BackHandler.exitApp(); functions from react-native. but It does not kill the process completely.

I don’t think there’s anything in stock RN/ Expo to do this. You could detach to ExpoKit and add react-native-exit-app (https://github.com/wumke/react-native-exit-app). Note that there’s some debate in the issues as to whether programmatically exiting an iOS app would cause your app to fail review.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.