Build for Kotlin Multiplatform #2817
Answered
by
MaximPestryakov
Otlichnick
asked this question in
Q&A
-
Is there any way to build wallet core in shared module of kmm and use it as Kotlin Multiplatform library? |
Beta Was this translation helpful? Give feedback.
Answered by
MaximPestryakov
Dec 21, 2022
Replies: 2 comments 1 reply
-
An issue Is created: #2740 I believe @MaximPestryakov did some research on the topic |
Beta Was this translation helpful? Give feedback.
0 replies
-
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")
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
optout21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
For iOS using CocoaPods Kotlin plugin: