简体   繁体   中英

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.

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.

Take a look at https://developer.android.com/training/app-links/deep-linking

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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