How to configure an Ionic 2 app to opened by a web link


#1

I’m developing a mobile app of a website such as www.domain.com. I want to create an ionic app that can be opened by just visiting www.domain.com or www.domain.com/page/subpage etc, just like facebook app. If you visit facebook.com, facebook app will opened instead of visiting facebook.com page inside mobile web browser.

I also want to get page/subpage part of the link from app. So I can open relevant content inside app.

Thanks


#2

You need to use DeepLinks. This tutorial shows how to configure it, however it’s outdated :frowning: https://github.com/driftyco/ionic2-deeplinks-demo