summaryrefslogtreecommitdiffhomepage
path: root/app/lib/exit.android.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/exit.android.js')
-rw-r--r--app/lib/exit.android.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lib/exit.android.js b/app/lib/exit.android.js
new file mode 100644
index 0000000000..2dbcf80413
--- /dev/null
+++ b/app/lib/exit.android.js
@@ -0,0 +1,5 @@
+import { BackHandler } from 'react-native';
+
+module.exports = function () {
+ BackHandler.exitApp();
+}