Skip to content

[feat] Kotlin Multiplatform support (WasmJs, Js, Native) #3650

Open

Description

@mani1232

Describe the problem

At the moment, I have only seen Kotlin/android and Kotlin/ios in the documentation, but as I understand it, it can also be used with Kotlin/Web to compile for Windows, Linux, and MacOS in the future.

Describe the solution you'd like

Add support for Kotlin/Web (Non-Android or ios)

Alternatives considered

Using Kotlin/Native and https://github.com/Winterreisender/webviewko (Rust and tauri part) with Kotlin/Web

Additional context

Kotlin/Native example: https://github.com/mani1232/KWebUtils/tree/master/compose-native (here i use ktor as web server)

Activity

  1. FabianLars commented on Dec 12, 2025

    @FabianLars
    Member

    We only support kotlin on Android since we have to wrap our rust code in a kotlin project anyway.

    There are currently no plans to extend kotlin support to other platforms (we're not a kotlin project after all).
    And web itself is not supported at all either, we currently expect developers to re-use their frontend themselves though that may change (more likely than extended kotlin support).

    Thanks for the request nonetheless. We will keep it in mind though I will close the issue for now.

  2. mani1232 commented on Dec 12, 2025

    @mani1232
    Author

    We only support kotlin on Android since we have to wrap our rust code in a kotlin project anyway.

    There are currently no plans to extend kotlin support to other platforms (we're not a kotlin project after all). And web itself is not supported at all either, we currently expect developers to re-use their frontend themselves though that may change (more likely than extended kotlin support).

    Thanks for the request nonetheless. We will keep it in mind though I will close the issue for now.

    You may have misunderstood me, Kotlin/Web (wasmJs or js) is together with Kotlin Compose Multiplatform (kmp) can ultimately play the role of frontend part and as I think it is currently implementable just not in documentation.

    Compiled Kotlin/WasmJs
    Image

  3. FabianLars commented on Dec 12, 2025

    @FabianLars
    Member

    Ohh you're right! Sorry I'm a bit dense today (like always)

    Since tauri doesn't care about your frontend, this should very likely already work.

    I'll move this issue to the docs repo so that we consider adding a guide for it.

    Apologies again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions