Sample Project of Kotlin Multiplatform(Android/iOS).
It fetches viewer's user info and his repositories.
Currently experimenting with MVI-ish architecture using Kotlin Coroutines.
- Kodein(for DI)
- Ktor(for Networking)
- kgql(for GraphQL)
- SQLDelight(for local cache)
- BuildKonfig(to embed github api token in the code)
- get GitHub API token. needs user scope.
- create
secret.properties
at the project root directory with following content
GITHUB_API_TOKEN=PLACE_YOUR_TOKEN
Tick "tick Delegate IDE build/run actions to gradle"(Settings - Build, Execution, Deployment - Build Tools - Gradle - Runner )