Close Native App

0
I work as a support dev for an Enterprise-level company. New to mendix. I need to try to make a button to close the native app on mobile devices. This seems like a simple implementation, but I have found no answers. The app is used by multiple users. I am able to tie actions to sign-out. Any help is greatly appreciated.
asked
1 answers
0

This is not so simple. Generally closing an app is handled by the OS and not the app itself. React Native (which Mendix native apps are based on) has an exitApp() method in the Backhandler API which might be worth looking into, but it's Android only. NPM also has something that might be worth looking into if you also want it to work on iOS. https://www.npmjs.com/package/react-native-exit-app.

answered