mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-16 20:21:12 +08:00
e197236714
KMP module at KMP/ exposes a Kotlin-idiomatic API in commonMain (com.tencent.mmkv.kmp), with platform-specific implementations: - androidMain: delegates to the existing com.tencent:mmkv Java library - darwinMain: uses Kotlin/Native ObjC interop with the MMKV CocoaPod Includes a Compose Multiplatform sample app (KMP/sample/) that demonstrates MMKV initialization, encode/decode for all primitive types, named instances, and key management on both Android and iOS.
10 lines
170 B
Ruby
10 lines
170 B
Ruby
source 'https://cdn.cocoapods.org'
|
|
|
|
platform :ios, '15.0'
|
|
|
|
target 'iosApp' do
|
|
use_frameworks!
|
|
pod 'composeApp', :path => '../composeApp'
|
|
pod 'MMKV', '~> 2.4.0'
|
|
end
|