OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS
Node Version: v0.10.36
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.0
Ionic CLI Version: 1.3.13
ionic start myApp sidemenu
ionic run android
What I need is : open a third part url A, and I can click url B in page A to open page B, and when I press HardwareBackButton, I can back to url A.
I try something like:
<ion-view view-title="Search">
<ion-content>
<a href="http://forum.ionicframework.com/">url A</a>
</ion-content>
</ion-view>
It works, I can open url A and url B, but I can’t back to page A.
I think maybe i need to override onHardwareBackButton(callback)
?
Also i try to use org.apache.cordova.inappbrowser, like:
window.open('http://apache.org', '_blank', 'location=no');
but the problem is when i press HardwareBackButton I back to the app instead of the history url.
Can someone give me some help? Thanks