Any plans to support KMM for use as shared code with the new Kotlin Maps SDK?

548
3
03-02-2023 03:00 PM
ForrestKaye
New Contributor III

Hi, I was wondering if there are any plans to support the use of this new Kotlin Maps SDK 200.x series for Kotlin Multiplatform (KMM) shared code?  Is this something that might be possible in the future?  From the outside perspective it seems like this might be possible since the SDK is now written in Kotlin, but maybe there are major dependencies that cannot easily be changed to Kotlin.

I just tried utilizing it as shared code and wouldn't allow me, presumably because the SDK, including all dependencies, are not 100% Kotlin code.

Any insight would be appreciated. 

Thanks,

3 Replies
GuntherHeppner
Esri Contributor

Hi,

Thanks for enquiring about KMM. As you rightly mentioned, the ArcGIS Maps SDK for Kotlin 200.x is purely targeting Kotlin/JVM, as it uses a variety of JVM-only dependencies.
However, we are keen to hear about requirements and use cases for KMM with regard to the ArcGIS Maps SDKs. Could you give us some details on your requirements with regards to using Maps SDK features in shared code? I.e. which particular features would you like to be able to share between platforms? In what ways would KMM simplify integration of ArcGIS into your apps?

Thanks

0 Kudos
OrelvisLago
New Contributor

Hello @GuntherHeppner, we are currently migrating all the projects of my current company to Compose/Kotlin Multiplatform, it would be very good to have a multiplatform sdk, it would save us a lot of integration and maintenance time.

Would it be possible to have it? If possible, how long do you think it could take to be in production?

Every day there are more companies that want to migrate their apps to multiplatform technologies and according to various analyzes that we have done in my current company, the most efficient so far is without a doubt Kotlin Multiplatform.

0 Kudos
GuntherHeppner
Esri Contributor

Thank you for letting us know about your interest in a Kotlin Multiplatform Maps SDK. We still don't have concrete plans for development. We are closely watching this space and we are assessing its feasibility for a Maps SDK when we have scope, but it's not our main focus right now.

For us, it would be helpful to better understand real user requirements in order to prioritise. If you could provide us with more info on any of the following, that would be very helpful:
- In what ways do you see Kotlin Multiplatform being more efficient than other cross-platform technologies such as .Net Maui or Flutter? (Esri has an SDK offering for .Net Maui and support for Flutter is underway)
- What platforms are you targeting, i.e. Android, iOS, desktop, web?
- What limitations do you currently encounter in adopting Kotlin Multiplatform?
- Do you require/consider Compose Multiplatform in addition to Kotlin Multiplatform or does mutliplatform support for a business logic layer (non-UI layer) satisfy your requirements?
- Any other thoughts on the benefits of a Kotlin Multiplatform Maps SDK with regards to integrating ArcGIS features into your applications.

You can provide any details along those lines as an idea here:

Thank you, Gunther
0 Kudos