GoogleChrome / GoogleChrome/android-browser-helper

help with adding custom headers

Open
#277 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
832
Forks
370
Avg merge
1d 3h
Merged PRs (30d)
6

Description

help with adding custom headers
![photo_2021-04-06_14-05-30](https://user-images.githubusercontent.com/9753571/113701764-3ff8a580-96e1-11eb-8241-a55a0217bb84.jpg) this is a screenshot from an example.
My code doesn't work either.
in Mainifest.xml
``
in string.xml
`[{ \"include\": \"https://qwerty.com/.well-known/assetlinks.json\" }] `

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/)]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.