简体   繁体   中英

Universal links deep linking not working for certain links

Our app has enabled deeplinking using universal links

This is what the AASA file on the server looks like

{
    "applinks": {
        "apps": [],
        "details": [{
            "appID": "team.com.company.product",
            "paths": ["/dashboards/*", "/lakes/*", "/dashboards-next/*", "/embed/lakes/*"]
        }]
    }
}

This is the manifest file

<string>applinks:*.company.com/dashboards</string>
<string>applinks:*.company.com/lakes</string>
<string>applinks:*.company.com/dashboards-next</string>
<string>applinks:*.company.com/embed/lakes</string>

The "/dashboards/*", "/lakes/*", "/dashboards-next/*" seem to working fine with the app but
"/embed/lakes/*" urls don't seem to working

Eg:
https://base.dev.company.com/lakes/jCzwyW924vnnh4k5Yx7B8t9H99j4Rhd9 works fine https://base.dev.company.com/embed/lakes/jCzwyW924vdnhFk5Yx7B8t9H99j4Rhd9 doesn't work

The issue turned out to be that the manifest file was updated and hosted on the subdomain but it wasn't updated on the main domain.

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