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

get-installed-related-apps returning empty array of android apps on subdomain web pages #36

Open harinarayana opened 1 year ago

harinarayana commented 1 year ago

Let's say we have following domain and sub-domain names domain.com, abc.domain.com, xyzzy.domain.com

We have hosted assetLink.json file on each domain & submain.

Included asset_statements in Android manifest file. Included asset_statements in Android strings file.

THE asset_statements in strings.xml contains a JSON ARRAY of statements with include & relation, target for each domain & subdomains.

It is considering the include statement of only first element of JSON ARRAY and ignoring the others.

Due to which getInstalledRelatedApps is returning empty for rest of the subdomains defined in a JSON ARRAY.

Not sure how to solve this issue.

Thanks in Advance!!!