11 Vote

Cordova: Close App

Question by Guest | 2021-01-11 at 13:36

I would like to close my Cordova App via code (for example when a user clicks a button or the like).

Is there a command for this that I can use?

ReplyPositiveNegative
1Best Answer1 Vote

You can simply end your app with the following line of code:

navigator.app.exitApp();
2021-01-11 at 22:35

ReplyPositive Negative
Reply

Related Topics

Android Splash Screen Tutorial

Tutorial | 0 Comments

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.