Hi,
I am using history object to identify the direction am navigating.
var oHistory = sap.ui.core.routing.History.getInstance();
if( oHistory.getDirection() === "BackWards"){
//do some tasks
} else {
//do some other task
}
but when i open a tile(application) for the first time, the code "oHistory.getDirection()" should give direction as "NewEntry" but instead its giving direction as "BackWards" which is wrong.
Note: in sapui5 version 1.60(history-160-version.png) its working absolutely fine but in latest version i,e 1.71(history-171.png) its not working.
Please find the attachment for clear understanding
Regards
charanaraj sahus