阅读背景:

应用程序上的Cordova AngularJS导航从外部URL返回而不记住历史记录

来源:互联网 

I'm working on a Cordova application using Ionic (with AngularJS) and I have hit a problem. My app has external links that open in a browser. When I tap on these links I am taken to the web page, however upon hitting the back button to return to the app, I have lost my back button and my home button does not work, effectively rendering my navigation useless. I'm not entirely sure how to handle this, as if I simply leave the app and re-enter it navigation works fine so it seems to be when linked to something from the app itself. It happens on Android and on my computer running the files in my web browser. Ideally getting navigation to remember where it was and provide accurate 'back' functionality would be great, but even just sending me back to the home page would be useful. I've looked a little into routing and locations, though I'm not quite sure how they fit into a Cordova App. Any guidance would be appreciated, as I am fairly new to angularJS. I'm working on a Cordova application using Ioni




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: