简体   繁体   English

是否可以在微软边缘浏览器中从ios平台打开离子cordova app的链接

[英]is it possible to open a link from ionic cordova app from ios platform in microsoft-edge browser

I have an ionic cordova app, on ios platform , i want to open some links in edge browser rather than the inappbrowser or the default browser. 我有一个离子cordova应用程序,在ios平台上,我想在边缘浏览器而不是inappbrowser或默认浏览器中打开一些链接。

i have gone through a number of articles, and have tried a lot of things but nothing seems to work for me. 我已经阅读了很多文章,并尝试了很多东西,但似乎没有什么对我有用。 I have also made changes in info.plist of project and added the urlschema. 我还在项目的info.plist中进行了更改并添加了urlschema。 the code i'm using to open link is mentioned below : 我用来打开链接的代码如下:

const browser = window.open('microsoft-edge:'+ 'https://google.com' ,'_blank');

But you could try the following https://github.com/apache/cordova-plugin-inappbrowser/releases 但你可以试试以下https://github.com/apache/cordova-plugin-inappbrowser/releases

OSX Quirk At the moment the only supported target in OSX is _system. OSX Quirk目前,OSX中唯一支持的目标是_system。

So if device system browser set to edge 因此,如果设备系统浏览器设置为边缘

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM