Button Close app


#1

Inserting a button to exit the application? close


#2

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();

#3

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


#4

Thank you, very quickly forum


#5

thank you @jimibi . its work for me.


#6

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