formation-res / overpass-kotlin-client

A simple client for overpass that uses ktor-client and kotlinx.serialization for parsing JSON responses. We are using this at FORMATION to be able to run some simple queries against OpenStreetMap.
MIT License
1 stars 1 forks source link

iOS Support for Kotlin Multiplatform Library #1

Closed 19Micha90 closed 1 month ago

19Micha90 commented 1 month ago

Firstly, thank you for your work on the overpass-kotlin-client library. I'm currently developing a Kotlin Multiplatform Mobile (KMM) application targeting both Android and iOS platforms. I wanted to include your library in my project, but I noticed that it currently only supports JVM and JavaScript targets. Would it be possible to add support for iOS targets as well?

jillesvangurp commented 1 month ago

Should be possible. Unfortunately I don't have a good way to test any of this. But I was working on adding support on my kt-search project a few weeks ago. If you have time to port some of those changes over and do a PR, I could release it. Otherwise this is a bit low priority for me right now.

19Micha90 commented 1 month ago

Tanks for your fast reply. Unfortunately, I don't have a Mac at the moment as well. I'm just doing this as a hobby and wanted to get the IOS hardware when I have the app ready on the android side. But when I'm ready and I have a Mac, I'll get to work on it and would create a PR.

jillesvangurp commented 1 month ago

@19Micha90 I updated the build to support IOS. Unfortunately jitpack doesn't really work well for multiplatform builds so I am using our own public repository.