Skip to main content
Version: 1.0

Installation

From a Kotlin Multiplatform module, depend on the same artifact on all targets that use Mealz:

// shared/build.gradle.kts
kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("ai.mealz:ui-kit:1.0.0")
        }
    }
}

Latest published version for now: 1.0.0. Android consumers need minSdk 24. Use the shared Compose APIs (CatalogScreen, RecipeCard, …) from commonMain, and supply a platform SdkContext when calling SdkConfiguration.start.

iOS Info.plist (Required)

On the iOS app target, add this key to Info.plist (Compose Multiplatform requirement — without it the app can crash on iPhone):

<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>

Next Step​

Continue with Initialisation.