xxfast
06/11/2021, 3:20 AMjsMain
?rnett
06/11/2021, 3:56 AMjs("code")
)xxfast
06/11/2021, 4:46 AMuserAgent
but this string also contains additional information in the UA string. I ended up using platform.js
using
dependencies {
implementation(npm("platform", "1.3.5"))
}
along with some external declarations
@JsModule("platform")
external object Platform {
val name: String // Chrome
val version: String // 91.0.4472.77
}
And this worked like a treat 🧁