How to exit Meteor Android app

Hi everyone,
I’m very eager to learn how to make a cross-platform app with Meteor, have been playing around with the sample apps todos and local market.
My question is that how can we exit the app via a Exit button or by using the Back button of the phone. For now, in the sample apps, pressing Back button on the phone only refresh the home page.
Is the any way to do this properly in Meteor?

Hieu Tang

No, node.js APIs will not exit your mobile app, this is not correct.

To exit your mobile app, you can use the Cordova API, see details here:


Thanks Slava. It works!