Tomoyo is a Kotlin Multiplatform app. On one hand, it is a functional copy of the website, enabling some of its features to be implemented on mobile and desktop platforms. On the other hand, it serves as a sample for common functionalities such as navigation, socket (for chat), video, audio, and db in Kotlin Multiplatform.
Tomoyo是一个Kotlin Multiplatform 应用程序 一方面它是一个对于该网站的功能拷贝,让其中一些功能可以在移动端和桌面端实现。 另一方面它是一个Kotlin Multiplatform下导航,socket,视频,音频,存储等常用功能的使用用例
Please note that this project is still under development and some features may not work as expected.
请注意,此项目仍在开发中,某些功能可能无法按预期工作
Android | IOS | Desktop/JVM | Web |
---|---|---|---|
√ | √ | √ | × |
Music playback solution in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下音乐播放解决方案
Implementing HTTP requests in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下实现HTTP请求
Navigation solution in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下导航解决方案
Building cross-platform client interfaces/构建跨平台的客户端界面
Custom Fonts in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下自定义字体
Data Persistence Solutions in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下数据持久化解决方案
Socket Solutions in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下Socket解决方案
Open project in Android Studio and run
在Android Studio打开直接运行即可
Run command ./gradlew :composeApp:run
执行命令./gradlew :composeApp:run
-
If you encounter
nw_proxy_resolver_create_parsed_array [C5.1 proxy pac] Evaluation error: NSURLErrorDomain: -1004
, please disable the proxy on your iPhone or the computer where the simulator is running. -
如果遇到
nw_proxy_resolver_create_parsed_array [C5.1 proxy pac] Evaluation error: NSURLErrorDomain: -1004
请关闭苹果手机代理或者模拟器所在电脑的代理