Add LAN auto-discovery pairing with shared TLS certificate

Login screen now scans for Quest on LAN via NSD, auto-pairs by requesting
a pairing code from the Quest's TLS server, and falls back to manual code
entry. Both apps share a pinned self-signed certificate for secure LAN
communication. Also adds Moshi codegen KSP processor and disables cleartext.
This commit is contained in:
2026-03-04 13:05:38 +01:00
parent 6f02d33b97
commit b3522bc1c4
7 changed files with 321 additions and 17 deletions

View File

@@ -58,6 +58,7 @@ room-compiler = { group = "androidx.room", name = "room-compiler", version.ref =
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
retrofit-converter-moshi = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit" }
moshi-kotlin = { group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshi" }
moshi-codegen = { group = "com.squareup.moshi", name = "moshi-kotlin-codegen", version.ref = "moshi" }
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }