angularjs - 阻止(可能是子框架)导航到不允许的 URL

标签 angularjs cordova ionic-framework

我无法从我的应用程序打开浏览器点击的 url。

enter image description here .

还有什么需要补充的吗

最佳答案

我找到了解决方案。将以下这些行添加到 config.xml 文件中。

<access origin="http://*" launch-external="yes" />
<access origin="https://*" launch-external="yes" />

它对我有用!!

关于angularjs - 阻止(可能是子框架)导航到不允许的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36932403/

相关文章:

javascript - 为什么 Angular 2 是用 CommonJs 模块格式而不是 AMD 编写的?

javascript - Angular 在指令中的元素外部单击

ios - Swift:Downcast 导致应用程序崩溃,为什么?

android - 在 android 上使用 phonegap 设置 Urban Airship 推送通知

android - ionic 页面转换不适用于具有推送功能的页面

javascript - AngularJS + JQuery = 类型错误 : Cannot read property 'then' of undefined

javascript - 在 AngularJS 中格式化 float 而不损失精度

facebook - Phonegap Facebook新插件适用于IOS,使用cordova2.0.0

cordova - Ionic 框架中的智能 watch (Android 和 Apple)集成

angular - 为什么在调用 firebase 函数时会出现 FCM 错误