I have implemented this piece of code :
window.plugins.nativepagetransitions.slide({
'direction': 'right',
"iosdelay" : 0,
'duration' : 250,
'href': actions.changeUrl({
href: -1
})
},
function () {
});
So, when I click on back button in my cordova app, the react code takes me to the previous page and the above transition is implemented. But the page that slides is the previous page (target page of transition) and not the current page. Works beautifully in Android.
I have implemented this piece of code : window.plugins.nativepagetransitions.slide({ 'direction': 'right', "iosdelay" : 0, 'duration' : 250, 'href': actions.changeUrl({ href: -1 }) }, function () { });
So, when I click on back button in my cordova app, the react code takes me to the previous page and the above transition is implemented. But the page that slides is the previous page (target page of transition) and not the current page. Works beautifully in Android.