BuildPlatform property

This commit is contained in:
Kelvin 2025-05-01 16:31:51 +02:00
commit fdaf41b605

View file

@ -72,6 +72,10 @@ class PackageBridge : V8Package {
fun buildSpecVersion(): Int { fun buildSpecVersion(): Int {
return JSClientConstants.PLUGIN_SPEC_VERSION; return JSClientConstants.PLUGIN_SPEC_VERSION;
} }
@V8Property
fun buildPlatform(): String {
return "android";
}
@V8Function @V8Function
fun dispose(value: V8Value) { fun dispose(value: V8Value) {