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:
- A machine running a recent version of macOS
- Xcode
- Android Studio
- The Kotlin Multiplatform Mobile plugin
- The CocoaPods dependency manager
Check your environment
Before you start, use the KDoctor tool to ensure that your development environment is configured correctly:
-
Install KDoctor with Homebrew:
brew install kdoctor
-
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