Skip to content

Build for Kotlin Multiplatform #2817

Answered by MaximPestryakov
Otlichnick asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Otlichnick

Right now there is no convenient way to use Wallet Core in KMM project. We are working on it. But despite this you can add Wallet Core dependencies in KMM project

For Android:

val androidMain by getting {
    dependencies {
        implementation("com.trustwallet:wallet-core:3.1.7")
    }
}

For iOS using CocoaPods Kotlin plugin:

plugins {
    kotlin("native.cocoapods")
}

cocoapods {
    pod(name = "TrustWalletCore", version = "3.1.7", moduleName = "WalletCore")
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Otlichnick
Comment options

Answer selected by optout21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants