iOS universal links not working?

后端 未结 5 2072
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 07:14

I\'m having trouble getting universal links to work

  • We have added the json content to our site https://couchsurfing.com/apple-app-site-association
  • I have
5条回答
  •  滥情空心
    2021-02-08 07:48

    After 3 weeks... It turned out my path was incorrect. My suggestion:

    set paths to ["*", "/"] while debugging, get everything to work and test, then as the final step update the path and only include supported paths.

    To be more specific the link I was trying to register was site.com/events/123123 so I would add a path for /events which is wrong that would register site.com/events. I had to register /events/* instead

    Also the easiest way to test it is to enter the expected links into the Notes app, because Safari has some weird logic on when links should be handled as deeplink.

    Apple's app-site-association validator is useless, it's still failing for me complaining about my App id, when deeplinks actually work. Instead use https://limitless-sierra-4673.herokuapp.com/

提交回复
热议问题