+
Skip to content

HasangerGames/suroi-app

Repository files navigation

Suroi Native
Kotlin

Suroi's official native app, made entirely in Kotlin Multiplatform

Android iOS Windows MacOS Linux

Setup

First, start with installing either of the following IDEs

Android Studio IntelliJ IDEA

Next, install Git if it is not already installed, and use the following command to clone the repository:

git clone https://github.com/HasangerGames/suroi-app.git

Alternatively, you may use the git tools of the IDE to clone the repository.

Finally, import the gradle project in order to set up dependencies. The IDE should do this automatically.

Run

Use the premade run configurations located in /runConfigurations to run the app on either Android or the current desktop operating system. Be sure that you've installed the Android Virtual Device

For other running options, open Gradle tasks and choose any run option available.

Project Information

  • /composeApp is for code that will be shared across all the Compose multiplatform apps. It contains several subfolders:

    • commonMain is for code that’s common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, iosMain would be the right folder for such calls.
  • /iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.

Learn more about Kotlin Multiplatform

About

Suroi's official native app, made entirely in Kotlin Multiplatform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载