diff --git a/composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/AndroidPluginManagerInitializer.kt b/composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/AndroidPluginManagerInitializer.kt index 8d20932b..d424272c 100644 --- a/composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/AndroidPluginManagerInitializer.kt +++ b/composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/AndroidPluginManagerInitializer.kt @@ -1,6 +1,7 @@ package com.macaosoftware.component.demo import android.app.Activity +import com.macaosoftware.app.InitializationError import com.macaosoftware.plugin.MacaoApplicationCallback import com.macaosoftware.app.PluginFactory import com.macaosoftware.app.PluginManager @@ -9,7 +10,7 @@ import com.macaosoftware.util.MacaoResult class AndroidPluginManagerInitializer(private val activity: Activity) : PluginManagerInitializer { - override suspend fun initialize(): MacaoResult { + override suspend fun initialize(): MacaoResult { // Example of a MacaoApplicationCallback Plugin, implemented in kotlin side // But perfectly an interface pointing to a specific plaform implementation could diff --git a/composeApp/src/iosMain/kotlin/com/macaosoftware/component/demo/IosPluginManagerInitializer.kt b/composeApp/src/iosMain/kotlin/com/macaosoftware/component/demo/IosPluginManagerInitializer.kt index 34ae4a2d..97fce85d 100644 --- a/composeApp/src/iosMain/kotlin/com/macaosoftware/component/demo/IosPluginManagerInitializer.kt +++ b/composeApp/src/iosMain/kotlin/com/macaosoftware/component/demo/IosPluginManagerInitializer.kt @@ -1,5 +1,6 @@ package com.macaosoftware.component.demo +import com.macaosoftware.app.InitializationError import com.macaosoftware.plugin.MacaoApplicationCallback import com.macaosoftware.app.PluginFactory import com.macaosoftware.app.PluginManager @@ -9,7 +10,7 @@ import platform.posix.exit class IosPluginManagerInitializer(iosBridge: IosBridge) : PluginManagerInitializer { - override suspend fun initialize(): MacaoResult { + override suspend fun initialize(): MacaoResult { // Example of a MacaoApplicationCallback Plugin, implemented in kotlin side // But perfectly an interface pointing to a specific swift implementation could diff --git a/composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt b/composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt index 8ac094ae..3ad656ee 100644 --- a/composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt +++ b/composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt @@ -1,5 +1,6 @@ package com.macaosoftware.component.demo +import com.macaosoftware.app.InitializationError import com.macaosoftware.plugin.MacaoApplicationCallback import com.macaosoftware.app.PluginFactory import com.macaosoftware.app.PluginManager @@ -8,7 +9,7 @@ import com.macaosoftware.util.MacaoResult class JsPluginManagerInitializer : PluginManagerInitializer { - override suspend fun initialize(): MacaoResult { + override suspend fun initialize(): MacaoResult { val macaoAppCallbackPlugin = object : MacaoApplicationCallback { override fun onExit() { diff --git a/composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt b/composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt index bd37e07d..fa0c0538 100644 --- a/composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt +++ b/composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt @@ -1,5 +1,6 @@ package com.macaosoftware.component.demo +import com.macaosoftware.app.InitializationError import com.macaosoftware.plugin.MacaoApplicationCallback import com.macaosoftware.app.PluginFactory import com.macaosoftware.app.PluginManager @@ -8,7 +9,7 @@ import com.macaosoftware.util.MacaoResult class WasmPluginManagerInitializer : PluginManagerInitializer { - override suspend fun initialize(): MacaoResult { + override suspend fun initialize(): MacaoResult { val macaoAppCallbackPlugin = object : MacaoApplicationCallback { override fun onExit() { diff --git a/gradle.properties b/gradle.properties index 000a2c91..1052e2e5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ dokkaVersion=1.8.10 kotlin.version=2.0.0 # compose version -compose.version=1.6.10 +compose.version=1.6.11 # component-toolkit version -component-toolkit.version=0.6.10 +component-toolkit.version=0.6.11