如何在离子应用程序中打开外部链接 [英] How to Open External link in ionic app

查看:89
本文介绍了如何在离子应用程序中打开外部链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都有一个关于如何在我的离子应用程序中打开外部链接(在离子应用程序之外)的想法.当我在链接上点击标签时,它将显示我的应用程序(如果存在于移动设备中).

Anyone have a idea about how to open external link(outside from my ionic app) in my ionic app. when i tab on the link it will show my app if exsist in mobile.

推荐答案

要打开与应用程序的链接,可以使用custom-url-scheme cordova插件.这使您可以使用testapp://path?foo=bar之类的外部链接打开您的应用程序.这是链接 https://github.com/EddyVerbruggen/Custom-URL-scheme

For opening a link with your app, you can use the custom-url-scheme cordova plugin . This enables you to open your app with an external link like testapp://path?foo=bar . Here is the link https://github.com/EddyVerbruggen/Custom-URL-scheme

这篇关于如何在离子应用程序中打开外部链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆