From 03672e334fad045ff78e4b835cb4303bc2ab1943 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 08:32:24 +0000 Subject: [PATCH 1/2] build(deps): bump org.jetbrains.kotlin.android Bumps [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin) from 2.3.20 to 2.4.20. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.3.20...v2.4.20) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.android dependency-version: 2.4.20 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- mobile/sam-node-app/android/settings.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/sam-node-app/android/settings.gradle.kts b/mobile/sam-node-app/android/settings.gradle.kts index 6d60887a..8533e565 100644 --- a/mobile/sam-node-app/android/settings.gradle.kts +++ b/mobile/sam-node-app/android/settings.gradle.kts @@ -20,7 +20,7 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" id("com.android.application") version "9.4.1" apply false - id("org.jetbrains.kotlin.android") version "2.3.20" apply false + id("org.jetbrains.kotlin.android") version "2.4.20" apply false id("com.google.gms.google-services") version "4.5.0" apply false id("com.google.devtools.ksp") version "2.3.12" apply false } From 68201272b697e5691c846a00dd7db23ef0376eb8 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sun, 27 Sep 2026 17:28:44 +0000 Subject: [PATCH 2/2] mobile: name the Kotlin module explicitly for the appfunctions compiler Kotlin 2.4 defaults the module name to "{group}:{project}" (kotlinlang.org/docs/whatsnew24.html#consistent-module-names-across-platforms). The appfunctions compiler names its generated aggregate after the module, `${moduleName}_FunctionComponentRegistry`, and KotlinPoet refuses the ':': e: [ksp] IllegalArgumentException: Can't escape identifier `$Android:appDebug_FunctionComponentRegistry` because it contains illegal characters: : KSP 2.3.10+ sanitizes its own internal-name suffix (google/ksp#2964) but not a name a processor builds itself, so :app:kspDebugKotlin failed with 2.4.20. An explicit module name keeps the generated identifier legal whatever the default becomes. --- mobile/sam-node-app/android/app/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/sam-node-app/android/app/build.gradle.kts b/mobile/sam-node-app/android/app/build.gradle.kts index d578237c..3333bfe9 100644 --- a/mobile/sam-node-app/android/app/build.gradle.kts +++ b/mobile/sam-node-app/android/app/build.gradle.kts @@ -76,6 +76,10 @@ android { kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 + // Kotlin 2.4 defaults the module name to "{group}:{project}"; the + // appfunctions compiler names a generated class after it, and ':' + // is not legal in an identifier. + moduleName = "sam_node_app" } }