As followed by the instruction of Support Universal Links, I have finished the following steps:
I never heard of https or nginx return code 516.
At last I failed to test the universal links on a device.
Any help is much appreciated!
Create an apple-app-site-association file, which is served over https at the root of my domain i.e. https://<my-domain.com>/apple-app-site-association
The apple-app-site-association file’s ‘content-type’ header is set to application/json MIME types.
The content of apple-app-site-association is as below:
Code Block { "applinks": { "apps": [], "details": [ { "appID": "J84F6UX8XQ.com.example.app", "paths": ["*"] } ] } }
Access of apple-app-site-association without any redirects.
Create an empty index.html file to the root of domain, so that the url of https://<my-domain.com>/ will return blank page with 200 code. The content of index.html is as below:
Code Block <html> <head> </head> <body> </body> </html>
My app runs in iOS 9 or later.
The universal links has been setup correctly in my app
Code Block https://<my-domain.com>/ is returning 516. Please check your url and try again.
I never heard of https or nginx return code 516.
At last I failed to test the universal links on a device.
Any help is much appreciated!