8b9727082a
- Created a new stargate module that will contain the code to connect with the Dero nodes. This stargate module will use the ktor library, which is a multiplatform networking library that works on both Android and iOS. - Added a bassic connectivity with a Dero node. It just connects with the node, listens for messages, and prints them out to the standard output. - Introduced the ScreenModel library and created a basic ImportAccountScreenModel. ScreenModel classes serve to host all the logic for their corresponding screens. - Added the Internet permssion to the Android app, to be able to connect with the internet. - Removed the Desktop target. After discussing with Ken, we decided that investing on a Desktop app does not make sense. We will focus on Android and iOS only.
31 lines
1.7 KiB
TOML
31 lines
1.7 KiB
TOML
[versions]
|
|
agp = "8.2.0"
|
|
android-compileSdk = "34"
|
|
android-minSdk = "26"
|
|
android-targetSdk = "34"
|
|
androidx-activityCompose = "1.8.2"
|
|
compose = "1.6.4"
|
|
compose-plugin = "1.6.0"
|
|
coroutines = "1.8.0"
|
|
kotlin = "1.9.22"
|
|
ktor = "2.3.9"
|
|
multiplatform-settings = "1.1.1"
|
|
voyager = "1.0.0"
|
|
|
|
[libraries]
|
|
androidx-activity-compose = { group = "androidx.activity", name ="activity-compose", version.ref = "androidx-activityCompose" }
|
|
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "compose" }
|
|
compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview", version.ref = "compose" }
|
|
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
|
|
ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
|
|
ktor-client-websockets = { group = "io.ktor", name = "ktor-client-websockets", version.ref = "ktor" }
|
|
multiplatform-settings = { group="com.russhwolf", name = "multiplatform-settings-no-arg", version.ref = "multiplatform-settings" }
|
|
voyager-navigator = { group = "cafe.adriel.voyager", name = "voyager-navigator", version.ref = "voyager" }
|
|
voyager-screenmodel = { group = "cafe.adriel.voyager", name = "voyager-screenmodel", version.ref = "voyager" }
|
|
|
|
[plugins]
|
|
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
|
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
|
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }
|
|
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|