ios9 - Universal Link not working on iOS 9 (device) -
this apple-app-site-association json:
{ "applinks": { "apps": [], "details": [ { "appid": "{team_id}.com.domain.myapp", "paths": [ "/activation/*"] } ] } }
i have signed apple-app-site-association file following command (from terminal on os x 10.11):
$ cat apple-app-site-association-unsigned | openssl smime -sign -inkey /etc/pki/tls/private/{filename}.key -signer /etc/pki/tls/certs/{filename}.crt -certfile /etc/pki/tls/certs/{filename}.ca -noattr -nodetach -outform der > apple-app-site-association
i have placed signed apple-app-site-association file on root directory of domain , set htaccess in such way content-type application/pkcs7-mime:
$ curl -i https://www.domain.com/apple-app-site-association http/1.1 200 ok server: apache content-type: application/pkcs7-mime ...
on xcode (v7.2) on project target, on "capabilities" enabled "associated domain" , added 2 applinks:
applinks:www.domain.com applinks:domain.com
when load page (i tried directly safari , link on e-mail) https://www.domain.com/activation/myactivationcode page loads , there no redirect app (the page has no redirects). need support app ios 7, using custom urls (myapp://activation?code=mycode) until ios 9.
is there way or doing wrong?
edit:
https://search.developer.apple.com/appsearch-validation-tool/
i tried app search api validation tool , says universal links: appsiteassociationfile not found
the problems don't understand did wrong, tried , without signing apple-app-site-association , different content-type: json, plain or pkcs7-mime
solved. load balancer problem on server (rackspace). logs, applebot getting 404 http status code.
Comments
Post a Comment