activityBackPressed nativescript vue code example
Example: nativescript vue back button handler
if (application.android) {
application.android.on(application.AndroidApplication.activityBackPressedEvent, function() {
// commit or dispatch stop player
);
}