Hello all,
i have a problem with native back button on android device, i have found the solution in cordova events, which work in SAP Fiori client
where is posible to rewrite default native back button. That is cool.
But it uses DOM event handler, which is not recommended in SAPUI5 SDK - Demo Kit:
"
document.addEventListener("backbutton",onBackKeyDown,false);
functiononBackKeyDown(){
// Handle the back button
}
"
Does anyone have some experience with this? and how can you solve this.
Thanks for your answers.
Vojta