WICG / get-installed-related-apps

proposal to add an API to the web for determining if related apps are installed
http://wicg.github.io/get-installed-related-apps/spec/
Other
42 stars 14 forks source link

API not working with an external JSON on android manifest #25

Closed nacho2487 closed 4 years ago

nacho2487 commented 4 years ago

With an external JSON on android manifest using include, I couldn't make the API works. But removing the include and paste it inside the the string like the example it works.

Here is an example that I couldn't make it work:

<resources>
<string name="smartlock_asset_statement" translatable="false">
        [{
            \"include\": \"https://example.com/.well-known/assetlinks.json\"
        }]
  </string>
</resources>

.well-known/assetlinks.json

[
  {
    "relation": [
      "delegate_permission/common.handle_all_urls"
    ],
    "target": {
      "namespace": "web",
      "site": "https://example.com"
    }
  }
]

This is the way we communicate between apps and web for sign-in, we follow this docs. We were expecting doing the same with this API.

rayankans commented 4 years ago

This seems to be a chromium bug, not a spec issue. Please file a feature request at bugs.chromium.org with the Blink>AppManifest component. Chromium does not currently support DAL include statements.

Closing this issue.

rake7h commented 3 years ago

@nacho2487 did you make it work with include DAL? facing same issue.