Imagine for a moment that we live in a world where only one mobile platform exists. Where you write your code once, where business people never change their minds… Now wake up. As a company that develops Android and iOS apps, we got the most success using native whenever possible. However, it’s a stake in our engineer’s heart that every feature is implemented multiple times. This can lead to slower development, divergence between platforms and less maintainability. In this talk we will present approaches that we use to share code between iOS and Android. These solutions proved viable in more than 10 apps used by more than 7 million users. We will go through:
The cases where sharing code makes sense
Different tools and tips that allow C++ as a shared language without dying
How Java can also be a candidate for code sharing
Alternatives to C++ and Java like Javascript and native Kotlin
How native code sharing compares to cross-platform solutions like Flutter
https://www.ubique.ch/en/appbuilders2...
https://appbuilders.ch