Closed jcasman closed 8 months ago
@jcasman As you can see from build.gradle, Theta-client compiles only for Android and iOS. We have not yet tried to compile for Windows.
@simago do you think it is theoretically possible for another developer to take theta-client, modify build.gradle and compile it for desktop support? I'm thinking of paying three junior developers to look into kotlin multiplatform desktop builds for a few days. Based on the article below, I found some information on compose-multiplatform configuration.
I'm thinking of asking them to go through this information and see if they can first build a standalone Windows desktop app with a simple code example and then if it works, try to use theta-client with the desktop.
If it is not theoretically possible, I'll assign them different work.
@codetricity You have a plan to try Compose Multiplatform to generate desktop UI! It is very interesting project but I have not try.
Using Kotlin/Native, you may compile forked Theta-client into a native dynamic library. But I do not know an application based on Compose Multiplatform can call a native dynamic library.
@simago thank you for your advice. Is it theoretically possible to use the native dynamic library as a Flutter plugin, assuming we build the surrounding plugin for Windows platform?
@codetricity I found a codelab Write a Flutter desktop application and sample desktop application.
It seems that native libraries could be linked to Windows plugin by specifying to windows/CMakeLists.txt
.
Kotlin Multiplatform appears as if it can support Windows desktop. The documentation has a section on desktop applications. Will theta-client compile for Windows? Has this been done?