From Android to Multiplatform and beyond
Abstract:
With Kotlin Multiplatform getting increasingly established, many Android libraries became multiplatform.But how to make an existing Android library multiplatform?
In this talk, we will cover the common challenges faced while migrating Android libraries to Kotlin Multiplatform, like handling platform-specific dependencies, re-organizing the project structure without losing the contributor's history, testing on multiple platforms, and publishing the library.
Slides:
Resources:
- Understand mobile project structure
https://kotlinlang.org/docs/multiplatform-mobile-understand-project-structure.html#source-sets - Connect to platform-specific APIs
https://kotlinlang.org/docs/multiplatform-connect-to-apis.html - OkHttp
https://square.github.io/okhttp/ - Ktor
https://ktor.io/ - NSURLSession
https://developer.apple.com/documentation/foundation/nsurlsession - Run tests with Kotlin Multiplatform
https://kotlinlang.org/docs/multiplatform-run-tests.html - Read a File in a Kotlin/Multiplatform Test
https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/ - gradle-maven-publish-plugin
https://github.com/vanniktech/gradle-maven-publish-plugin - RSSParser
https://github.com/prof18/RSS-Parser - #52 - RSS-Parser with Marco Gomiero
https://thebakery.dev/52/ - FeedFlow
https://www.feedflow.dev/