简体   繁体   中英

iOS9: After restarting my test device, Universal Links do not work any more

I have read several QA about "Universal Links do not work" or "How to set up Universal Links on iOS9". I configured my server and domain correctly and successfully invoked this feature.

My development environment is: Xcode 7.3.0(7D157), an iPhone 6(A1586), iOS 9.3.5.

But after restarting my test device (the iPhone), the Universal Links does not work any more. I notice that my iPhone can't recognize my app after that. The system seems consider that my app is not installed at all. When I long pressed an URL in the note app, the action sheet pop from bottom does not contain the lines of "open in myApp" or "open in Safari".

That's why I say the system can't recognize my app. However it just occur after restarting my iPhone.

Now, I have to re-compile and re-build my project to invoke this feature each time after restart. How can I solve this problem?

you can try this: https://forums.developer.apple.com/thread/14558

by adding '/' to solve this : )

{
 "applinks": {  
     "apps": [],   
     "details": {  
          "<app_id>.stuff":{  
               "paths": [ "*", "/" ]  
          }  
     }  
  }   
} 

or to validate apple-app-site-association through this:

https://search.developer.apple.com/appsearch-validation-tool/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM