Modern Apps git

← Modern-Apps.git

communicate: add webrtc + datastore + network deps for Google Voice line

Commit
b16659357c9b807ea5c2bacb72004eaab3c77ce6
Author
Vayun Mathur <[email protected]>
When
2026-08-12 18:11 UTC (3 months ago)
Parents
dd9e2de

Diff

communicate/build.gradle.kts
diff --git a/communicate/build.gradle.kts b/communicate/build.gradle.ktsindex 9b4e4b1404..35e4956674 100644--- a/communicate/build.gradle.kts+++ b/communicate/build.gradle.kts@@ -12,3 +12,16 @@ android {     } } +dependencies {+    // Google Voice virtual line: protojson RPCs + SIP-over-WSS transport go through+    // the repo's own Android-only HTTP/WebSocket stack (no OkHttp/Ktor).+    implementation(project(":library:network"))+    // Maintained prebuilt WebRTC (org.webrtc.*) for the calling audio session.+    implementation(libs.stream.webrtc.android)+    // E.164 normalization to reconcile SIM vs Google Voice numbers.+    implementation(libs.libphonenumber)+    // Persist the Google Voice session (cookies, API key, authuser, GV number).+    implementation(libs.androidx.datastore.preferences)+    // Document-start JS injection to hook fetch/XHR before the GV web app captures them.+    implementation(libs.androidx.webkit)+}
gradle/libs.versions.toml
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex 6fbce2652a..b18e51fde9 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -125,6 +125,10 @@ ncnnAndroid = "1.7.0" # AppStore โ€“ Play install via Aurora gplayapi = "3.6.4" +# Google Voice virtual line (:communicate) โ€” maintained prebuilt WebRTC (org.webrtc.*)+# for the calling audio session. HTTP + SIP WebSocket reuse :library:network (no OkHttp).+streamWebrtc = "1.3.8"+ [libraries]  # =============================================================================@@ -289,6 +293,9 @@ ncnn-android = { module = "com.github.vayun-mathur:ncnn-android", version.ref = # AppStore โ€“ Play install via Aurora auroraoss-gplayapi = { module = "com.auroraoss:gplayapi", version.ref = "gplayapi" } +# Google Voice virtual line (:communicate)+stream-webrtc-android = { module = "io.getstream:stream-webrtc-android", version.ref = "streamWebrtc" }+ [plugins]  # =============================================================================