forked from Blendman974/faceclaw
Refactor Java to shared kotlin
This commit is contained in:
1 parent
bc8e80c533
commit
68810197a8
173 files changed
+9855
-6252
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { runKotlinProtocolSmokeTest } from './kotlin-protocol-smoke.ios';
|
||||
import type { KotlinBridge } from './kotlin-platform';
|
||||
|
||||
// Handwritten declarations matching FaceclawKit's Objective-C header.
|
||||
@@ -26,6 +27,7 @@ class KotlinCallback extends NSObject implements FaceclawKitKotlinBridgeListener
|
||||
}
|
||||
|
||||
export function createKotlinBridge(): KotlinBridge {
|
||||
runKotlinProtocolSmokeTest();
|
||||
const bridge = FaceclawKitKotlinBridge.alloc().init();
|
||||
return {
|
||||
platform: () => bridge.platform(),
|
||||
|
||||
Reference in new issue
Block a user