

And consequently it needs to be queried via a complicated C interface.

Whereas in MacOS, there is no such method. Could there be any drawbacks for using this method? Get the MacBook serial numberįor iOS, there is a convenient method to access the unique id of the device. This sounds great for developers familiar with the Jetbrains platform. Whereas for the second case, the code will be written in pure Kotlin and in IntelliJ. Because conversion would take a considerable effort. Projects who already have existing Objective-C code bases can prefer this method. Optionally use the expect/actual system.įor the first case, the native code will be written in the Xcode project in Swift/Objective-C, and returned to Kotlin via an object or interface callback.
