Reputation: 21
I have been trying to set up Universal Links in my iOS app, but I'm encountering an issue where the app doesn't open when the Universal Link is tapped.
Here are the steps I've taken so far:
applinks:ourwebsite.com
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void)
in our AppDelegate
(with breakpoints to verify that it's called)After all this, the breakpoints never fire, and of course.
I have also tried cleaning the build, deleting derived data, and restarting Xcode, but the problem persists. I have checked for conflicting code or configurations and couldn't find any.
At this point, I'm unsure what might be causing the issue and would appreciate any guidance or suggestions on how to further troubleshoot and resolve this problem.
Upvotes: 2
Views: 376
Reputation: 84
Check the address "website.com/apple-app-site-association" whether the configuration is set successfully. If so remove the app and then redownload it. We had that issue and remove-install method solved the problem for us.
Upvotes: 0