capacitor-exit-app This package has the ability to shut down the app in the capacitor environment. Install npm install @jimcase/capacitor-exit-app npx cap sync Typescript API exitApp() exitApp() exitApp() => Promise<void>