[英]Open Link With [ ionic Mobile App or browser ] on android
I'm working on ionic mobile application, I'd like to send an email containing a link. 我正在开发离子移动应用程序,我想发送包含链接的电子邮件。 The user would have the possibility to open link on my app or in web browser, as shown in screenshot below.
用户可以在我的应用程序或Web浏览器中打开链接,如下面的屏幕快照所示。
If the user chooses to open the link by my mobile app, they will get a specific screen. 如果用户选择通过我的移动应用程序打开链接,他们将获得一个特定的屏幕。 But if they choose to open the link using browser they should be redirected to a web page.
但是,如果他们选择使用浏览器打开链接,则应将其重定向到网页。
How can I do it? 我该怎么做?
Thanks for your help 谢谢你的帮助
Are you talking about creating deep links for your app? 您是在谈论为您的应用创建深层链接吗? Deep links can allow you to designate a specific uri, which when clicked on ask the user if they want to open it in your app or the browser.
深层链接可让您指定特定的uri,单击该链接可询问用户是否要在您的应用程序或浏览器中打开它。
Take a look at https://developer.android.com/training/app-links/deep-linking 看看https://developer.android.com/training/app-links/deep-linking
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.