Kotlin/Multiplatform is an amazing tech that allows you to develop your business code once and deploy it to every mobile platform. However, to do things, you need to access APIs that are either provided by the platform in its native language (Obj-C, Swift) or as native libraries (C, C++, Rust).
In this live coding talk, we will see how to use different types of APIs in a Kotlin Multi-platform library that can be used on Kotlin/Multiplatform. Using Cryptography primitives as an excuse, we will see how to configure, compile, test and deploy a simple algorithmic library, and how to use it in a Kotlin/Multiplatform Mobile (KMM) project.
We will first demonstrate how to create a library with a native C dependency for the JVM, Android, Kotlin/Native & iOS, the Web, and more specifically to align JVM JNI, Kotlin/Native C-interop, and JS WebAssembly.
Finally, we will explore how to use Swift iOS SDKs in conjunction with Kotlin Android SDKs to commonize advanced platform features, such as embedded cryptography.
--
Kotlin Dev Day 2022 was organized on 19 May 2022 by Xebia. This event took place in the Johan Cruijff ArenA in Amsterdam.
--
Xebia
It's your business, we accelerate it.
We are a group of highly ambitious craftsmen. From digital strategy to technology implementation. As such we are a one stop shop for full stack digital transformation. We provide innovative solutions and services to help your organization become a digital winner.
Check out Xebia online:
Website - [ Ссылка ]
LinkedIn - [ Ссылка ]
Twitter - [ Ссылка ]
Facebook - [ Ссылка ]
YouTube - [ Ссылка ]
![](https://i.ytimg.com/vi/Z2PHpxVD9_s/mqdefault.jpg)