Universal links do not redirect the user to my application when listening

I implemented Universal Links in my application and it works like a charm. But after updating iOS 9.2 it stopped working.

When the application is already installed, and I touch the link that opens my application in iOS9.1, this is not the case in iOS9.2.

Does anyone have the same problem?

+5
source share
2 answers

My problem was in the old format for apple-app-site-association .

The format is old :

 { "applinks": { "apps": [], "details": { "1234ABCDE.com.app.myapp": { "paths": [ "*" ] } } } } 

Update the format of the fixed problem, and the format is new :

 { "applinks": { "apps": [], "details": [ { "appID": "1234ABCDE.com.app.myapp", "paths": ["*"] } ] } } 

You can check if the format is suitable: https://search.developer.apple.com/appsearch-validation-tool/ If he says: recommended - the old format, so it will not work on iOS9.2 , therefore it is updated to the new format.

Hope this helps someone.

+5
source

This is a known issue with iOS 9.2. For a full description of the problem, see https://blog.branch.io/ios-9.2-redirection-update-uri-scheme-and-universal-links .

TL; DR - It is not known whether this was intentional or an error in the Apple part. It is known that with the iOS 9.2 update, the model dialog that was previously used to request the user to open the application (associated with the URL scheme) is no longer modal. This means that javascript is ongoing, and if you were previously counting on a modal dialog to prevent a user from being redirected to the application store, this no longer works. For most applications using URL schemes, the end user interface is that they ALWAYS redirect to the application store, where the button says "open" instead of "get" for the application.

-2
source

Source: https://habr.com/ru/post/1238019/


All Articles