/kmp-entertainment-app

Kotlin Multiplaform App using Compose Multiplaform

Primary LanguageKotlin

KMP Entertainment App

Content

TheMovieDB API: Check this documentation.

Setup

Using local properties for define api key:

apiKey="{your-api-key}"

Set up the environment

Warning You need a Mac with macOS to write and run iOS-specific code on simulated or real devices. This is an Apple requirement.

To work with this template, you need the following:

Check your environment

Before you start, use the KDoctor tool to ensure that your development environment is configured correctly:

  1. Install KDoctor with Homebrew:

    brew install kdoctor
    
  2. Run KDoctor in your terminal:

    kdoctor
    

    If everything is set up correctly, you'll see valid output:

    Environment diagnose (to see all details, use -v option):
    [✓] Operation System
    [✓] Java
    [✓] Android Studio
    [✓] Xcode
    [✓] Cocoapods
    
    Conclusion:
      ✓ Your system is ready for Kotlin Multiplatform Mobile development!
    

Otherwise, KDoctor will highlight which parts of your setup still need to be configured and will suggest a way to fix them.

Dependencies

[versions]
kotlin="1.9.20"
compose="1.5.10"
activity-compose = "1.8.0"
appcompat = "1.6.1"
coil-compose = "2.4.0"
core-ktx = "1.12.0"
image-loader = "1.6.4"
kotlinxCoroutinesAndroid = "1.7.3"
ktorVersion = "2.3.3"
precompose = "1.5.1"
voyager = "1.0.0-rc05"

Check voyager implementation here