help with adding custom headers
See original GitHub issuehelp with adding custom headers
this is a screenshot from an example.
My code doesn’t work either.
in Mainifest.xml
<meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
in string.xml
<string name="asset_statements" translatable="false">[{ \"include\": \"https://qwerty.com/.well-known/assetlinks.json\" }] </string>
file from site: https://qwerty.com/.well-known/assetlinks.json
[{ "relation": ["delegate_permission/common.use_as_origin"], "target" : { "namespace": "android_app", "package_name": "my.app.android", "sha256_cert_fingerprints": ["52:52:52:52:36:D9:4E:F3:DB:E5:3E:0E:7A:2D:3C:D8:08:8E:7A:FF:56:FC:30:E0:59:AC:05:43:CE:CE:CE:CE"] } }]
the rest of the code is as in the example [(https://developer.chrome.com/docs/android/custom-tabs/headers/)]
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
@andreban I setup my assetlinks file here https://namnh-0652.github.io/.well-known/assetlinks.json and try the demo app with my link “https://namnh-0652.github.io” but no headers are added.
CCT version 9x.
@DmitryDogar , @lionandbull any updated status from you guys?
Same issue for me with the demo app (here is my assetlinks file)