How to capture Cordova android hardware backbutton event from Meteor Event?

I would like to capture android hardware backbutton and trigger a modal to confirm exit app.

I can’t find a way to properly capture backbutton event from meteor/blaze template event.

Any advice? Thanks.


This can’t be done at the template level because the event listener has to be attached to the document.

Have a look here…