Skip to content Skip to sidebar Skip to footer

Nativescript With Angular 2 On Android, How To Close My App?

I would like a button. When you tap the button, the application closes, and go to home screen. Not needed to really close the app, just go to home screen. How can I achieve this?

Solution 1:

On iOS you're not allowed by the operating system to programmatically close the app.

I'm not sure it's a good practice on Android, but it has been asked and answered many times on StackOverflow.

Post a Comment for "Nativescript With Angular 2 On Android, How To Close My App?"