7

I successfully implemented deep-links, but now I would love to implement app-links as well, but I don't get wanted results.

AndroidManifest

<intent-filter android:autoVerify="true
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>

            <data android:scheme="http"
                android:host="*.ex.com"
                android:pathPrefix="/vvv" />
            <data android:scheme="https"
                android:host="ex.com"
                android:pathPrefix="/vvv" />
        </intent-filter>
        <intent-filter android:autoVerify="true">
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>

            <data android:scheme="http"
                android:host="*.ex.com"
                android:pathPrefix="/ttt" />
            <data android:scheme="https"
                android:host="ex.com"
                android:pathPrefix="/ttt" />
</intent-filter>

When I follow to my websites link ex.com/.well-known/assetlinks.json I do see my .json file. I copy pasted the information in there to:

https://developers.google.com/digital-asset-links/tools/generator and it showed: "Success! Host www.ex.com grants app deep linking to xxx."

But still.. app links to not work.

Then I tried https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://ex.com&relation=delegate_permission/common.handle_all_urls and the response was:

Error: unavailable: Redirect encountered while fetching statements from https://ex.com./.well-known/assetlinks.json (which is equivalent to 'https://ex.com/.well-known/assetlinks.json'): redirects are disallowed for security reasons (NOT_FOLLOWED_MAX_FORWARDS) [26] while fetching Web statements from https://ex.com./.well-known/assetlinks.json (which is equivalent to 'https://ex.com/.well-known/assetlinks.json') using download from the web (ID 1).\n********************* INFO MESSAGES *********************\n* Info: No statements were found that match your query\n",

Where's the problem? Thanks in advance.

MaaAn13
  • 264
  • 5
  • 24
  • 54

0 Answers0