Hi,
I am developing an ioinc 4 app. Now i am trying to exit the app when user click the button.
I am trying to write the logic
" this.plateform.exitApp() "
the error is
" Property 'exitApp' does not exist on type 'plateform' " .
any one who have idea about ionic 4?
help will be appreciated
Thank you

Muthu KumarRank #935 · 2.2K reputationPosted Mar 4, 2019, 1:23 AM EST
Here is an solution,
navigator.app.exitApp
Reference:-
https://forum.ionicframework.com/t/how-to-quit-the-app-in-ionic-4/136626/3
https://www.codeproject.com/Questions/1278859/Close-app-when-button-click-ionic-4
Fahad Khan28 reputationPosted Mar 4, 2019, 6:47 PM EST
Fahad Khan28 reputationPosted Mar 4, 2019, 6:56 PM EST