You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With medic/cht-core#8917 merged and medic/cht-android#308 soon to be merged, we should document how to configure a project for its CHT instance to serve /.well-known/assetlinks.json and allow android to automatically associate a domain with a project's app.
Things I can think of from the top of my head:
ensure the project's .apk is built with the app_host string configured
gotcha: how to handle a single apk with multiple hosts like moh_kenya_echis
what goes into assetlinks, reference Android docs:
the hardcoded fields relation, target.namespace
package_name, application ID declared in build.gradle
With medic/cht-core#8917 merged and medic/cht-android#308 soon to be merged, we should document how to configure a project for its CHT instance to serve
/.well-known/assetlinks.json
and allow android to automatically associate a domain with a project's app.Things I can think of from the top of my head:
app_host
string configuredmoh_kenya_echis
assetlinks
, reference Android docs:relation
,target.namespace
package_name
, application ID declared inbuild.gradle
keytool -printcert -jarfile ./path/to/project.apk
keytool -list -v -keystore ./path/to/release-key.keystore
adb shell pm get-app-links <package_name>
shows the domain as verifiedThe text was updated successfully, but these errors were encountered: