Button Close app

Inserting a button to exit the application? close

from docs:

ionic.Platform.exitApp()

============================================
if didn’t work use:

not tested in ionic,tested in phonegap/cordova
not tested in IOS, tested in android
in cordova app plugin (think ionic includes it itself if not you can add it with “ionic plugin”):

navigator.app.exitApp();
2 Likes

I use: “ionic.Platform.exitApp();” in my App and I work fine.

2 Likes

Thank you, very quickly forum

thank you @jimibi . its work for me.

how to use ionic.Platform.exitApp() in ionic 3
if anyone can help please