From 97521fd9f9dd981ba0e8d3925c6b7b87c39feabc Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Wed, 27 Nov 2024 19:22:15 -0500 Subject: [PATCH] Switch Main.kt to use ProcessInfo.launch --- Android/app/src/main/kotlin/app/droid/Main.kt | 2 +- Tests/AppDroidModelTests/AppDroidModelTests.swift | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Android/app/src/main/kotlin/app/droid/Main.kt b/Android/app/src/main/kotlin/app/droid/Main.kt index b5851de..cf77ae7 100644 --- a/Android/app/src/main/kotlin/app/droid/Main.kt +++ b/Android/app/src/main/kotlin/app/droid/Main.kt @@ -31,7 +31,7 @@ open class AndroidAppMain: Application { super.onCreate() logger.info("starting app") logger.info("loading AppDroidModel") - skip.android.bridge.kt.AndroidBridge.initBridge(this, "AppDroidModel") + ProcessInfo.launch(applicationContext) logger.info("loaded AppDroidModel") } diff --git a/Tests/AppDroidModelTests/AppDroidModelTests.swift b/Tests/AppDroidModelTests/AppDroidModelTests.swift index 7b29adf..786c839 100644 --- a/Tests/AppDroidModelTests/AppDroidModelTests.swift +++ b/Tests/AppDroidModelTests/AppDroidModelTests.swift @@ -1,8 +1,6 @@ import XCTest import Foundation -import SkipBridge import Observation -import SkipAndroidBridgeKt import SkipBridgeKt @testable import AppDroidModel