Reputation: 21
I followed all the steps mentioned in App Search Programming Guide to enable Universal Link in my application, but its not working.
Steps Followed:
1) Apple app site asscoiation file is created and accessible from the web.
2) Enabled Associated Domains in the member center and generated the provisioning profile.
3) Added applinks:limeroad.com
in the capabilities section of my app target.
4) Implemented -
-(BOOL)application:
(UIApplication *)application continueUserActivity:
(NSUserActivity *)userActivity restorationHandler:
(void(^)(NSArray * __nullable restorableObjects))restorationHandler
5) Tried opening below links from mail app but they always open in Safari.
www.perf.limeroad.com/scrap/s56b1d03f092d275b2808c6d5
6) Tried long pressing in the link and it only shows open in safari, but not open in my app.
My app supports iOS 7 onwards. I have tested these steps with the development build as well as test flight build, but it never worked for me.
I tried four square and make my trip app and they seem to be working fine. I tried this in my iPhone 6 running iOS9.2 and iPad running iOS 9.1.
Did validation with search.developer.apple.com/appsearch-validation-tool/
and seems like things are fine here too.
Please let me know what i have missed here. Is anyone else facing the same issue?
JSON: {
"applinks": {
"apps": [],
"details": [ { "appID": "TB98D47W8J.com.limeroad.Limeroad",
"paths": ["*"]
}
]
}
}
App Validation :
Xcode Applinks addition :
Upvotes: 2
Views: 503
Reputation:
Did you add these entitlements to your project.entitlements file? And after you add the entitlements to that file make sure that you include that file to the build targets.
Upvotes: 1