Hi!
I’ve implemented universal links in my ionic app in order to open the app instead of my website. The problem is that now it is opening all urls in my domain (i.e. https://www.mydomain.mx/xxxxx). Instead of this I want to open only urls from a subfolder i.e. https://www.mydomain.mx/applink/open/xxxxx.
Examples of the problem:
https://www.mydomain.mx/ is opened and it should not
https://www.mydomain.mx/products is opened and it should not
https://www.mydomain.mx/applink/open/ is opened and it is ok
When I installed the universalinks ionic plugin I used this configuration (I have two domains and the behaviour is the same for both):
cordova plugin add ionic-plugin-deeplinks
–variable URL_SCHEME=myurlscheme
–variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=www.mydomain.org --variable ANDROID_PATH_PREFIX=/applink/open/
–variable DEEPLINK_2_SCHEME=https --variable DEEPLINK_2_HOST=www.mydomain.mx --variable ANDROID_2_PATH_PREFIX=/applink/open/
I tried to remove and add Android platform several times.
Thanks for your help!