Universal links deep linking not working for certain links - ios

Our app has enabled deeplinking using universal links
This is what the AASA file on the server looks like
{
"applinks": {
"apps": [],
"details": [{
"appID": "team.com.company.product",
"paths": ["/dashboards/*", "/lakes/*", "/dashboards-next/*", "/embed/lakes/*"]
}]
}
}
This is the manifest file
<string>applinks:*.company.com/dashboards</string>
<string>applinks:*.company.com/lakes</string>
<string>applinks:*.company.com/dashboards-next</string>
<string>applinks:*.company.com/embed/lakes</string>
The "/dashboards/*", "/lakes/*", "/dashboards-next/*" seem to working fine with the app but
"/embed/lakes/*" urls don't seem to working
Eg:
https://base.dev.company.com/lakes/jCzwyW924vnnh4k5Yx7B8t9H99j4Rhd9 works fine
https://base.dev.company.com/embed/lakes/jCzwyW924vdnhFk5Yx7B8t9H99j4Rhd9 doesn't work

The issue turned out to be that the manifest file was updated and hosted on the subdomain but it wasn't updated on the main domain.

Related

React Native IOS Universal link is open in safari instead of App

I am using react native IOS deeplinking and App is not open through the link after completing deepliking setup.
I have already added the apple-app-site-association file to the web server but it's not working.
Here is my apple-app-site-association file code:-
{
"applinks": {
"apps": [],
"details": [
{
"appID": "<TeamID>.<BundleID>”,
"paths": ["*"]
}
]
}
}

iOS Universal Links redirect to AppStore to Update Application

I am working on a feature that implementing of 3rd party sdk (Firebase etc) to handle Universal Links in iOS and my apple-app-site-association file is like below.
{
"applinks": {
"apps": [],
"details": [
{
"appID": "teamid.bundleid",
"paths": [
"NOT /auth",
"/*"
]
},
]
}
}
Everything is working fine but in a domain like myappsite.com/deeplink/live-chat it goes directly to the AppStore but the problem here is my application is already installed on the phone, when I go to AppStore, there is a button named Update for updating application then nothing changed, do you have any idea of this problem?

React Native - Deep linking from Google app in iOS not working

I noticed that my app does not open when tapping on a link from the result page of the Google Search app on iOS.
I have configured Universal links for iOS and Android.
Works well as expected on Chrome and Safari browsers. But not on the Google.app.
I tried to search for a facebook profile on the 'Google Search app' and tapped on a result. It actually navigated into the web page (profile), and then opened the native Facebook app (depplinked into the profile page).
So I was wondering what I had missed. Was it a <meta /> tag that was missing on the web page? Eg. in https://www.example.com/item/123
Or something I need to add in the Xcode configurations?
Example scenario:
Domain - https://www.example.com
Bundle Id - com.example.app
Link - https://www.example.com/item/123
// Xcode => Associated Domains => Domains
applinks:www.example.com
// File: apple-app-site-association
{
"applinks": {
"apps": [],
"details": [
{
"appID": "XYZXYZX.com.example.app",
"paths": [
"/item/*"
]
}
],
"components": [
{
"/": "/item/*"
}
]
}
}
Versions:
react: 16.13.1
react-native: 0.63.3
react-navigation: ^4.4.3
react-native-branch: ^5.0.1

Why does iOS Universal link stopped working in 12.2

Universal link was working fine till iOS 12.1. It has stopped working in iOS 12.2. I was using XCode 10.1 swift 4, to debug code in 12.2 updated my xcode to 10.2 , swift 4.
I have checked the apple-app-site-association which is fine. Application is downloading it perfectly. Path, activitycontinuation, details looks fine. Associated domains are present in entitlements files.
This code works/setup fine when running < 12.2.
{
"activitycontinuation": {
"apps": [
“teamID.bundleidentifier”
]
},
"applinks": {
"apps": [],
"details": [
{
"appID": “teamID.bundleidentifier”,
"paths": [ "/validate", "/redirect", "NOT /*" ]
}
]
}
}
Apple has added some changes related to security, is this the reason of not working.
Apple has asked me to create a bug for them. They think it’s most likely a bug I am running up against.
Can you try by replacing teamID with the app prefix in the appID under details of apple-app-site-association file. also keep the apps section empty.

Universal Links don't redirect the user to my app when tapped

I implemented Universal Links in my app, and it works like charm.
But after the iOS 9.2 Update it stopped working.
When the app is already installed, and I tap on the link which in iOS9.1 open my app, in iOS9.2 it isn't.
Does anyone have the same problem?
My problem was an old format for the apple-app-site-association.
The old format was:
{
"applinks": {
"apps": [],
"details": {
"1234ABCDE.com.app.myapp": {
"paths": [
"*"
]
}
}
}
}
Update the format fixed the problem, and the new format is:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "1234ABCDE.com.app.myapp",
"paths": ["*"]
}
]
}
}
Can check if the format is right here:
https://search.developer.apple.com/appsearch-validation-tool/
If it says: recommended - old format, so it won't work on iOS9.2, So update to the new format.
Hope it help someone.
This is a known issue introduced with iOS 9.2. Please see https://blog.branch.io/ios-9.2-redirection-update-uri-scheme-and-universal-links for a full description of the issue.
TLDR - It's not known if this was intentional or a bug on Apple's part. What is known is that with the update to iOS 9.2, the model dialog which was previously used to prompt the user to open the app (associated with the URL scheme) is no longer modal. This means that javascript execution continues and if you were previously counting on the modal dialog to prevent redirecting the user to the app store, that no longer works. The end user experience for most apps using URL schemes is that they are ALWAYS redirected to the app store where the button says "open" instead of "get" for the app.

Resources