forked from Blendman974/faceclaw
Refactor a bunch of Java to Kotlin, making it usable in an iOS port
This commit is contained in:
1 parent
c0f8f7e9c2
commit
410fd5840b
162 files changed
+9650
-6224
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { runKotlinProtocolSmokeTest } from './kotlin-protocol-smoke';
|
||||
import { isAndroid } from "@nativescript/core";
|
||||
|
||||
// Handwritten declarations for this small native surface. NativeScript builds
|
||||
@@ -18,6 +19,7 @@ export function runKotlinBridgeSmokeTest(): void {
|
||||
if (!isAndroid) return;
|
||||
|
||||
try {
|
||||
runKotlinProtocolSmokeTest();
|
||||
const bridge = new com.faceclaw.shared.KotlinBridge();
|
||||
const greeting = bridge.greet("Faceclaw");
|
||||
const message = "Faceclaw \u2194 Kotlin \ud83d\udc53";
|
||||
|
||||
Reference in new issue
Block a user