iOS Compatibility Kit
MicroEJ provides a set of tools and libraries to run applications powered by MicroEJ on iOS. This allows for the same application to be developed, simulated, tested, and executed on MicroEJ VEE and iOS alike.
Thanks to the iOS Compatibility Kit, watch faces can be developed once and deployed on both a smartwatch (MicroEJ VEE) and its companion smartphone app (iOS), enabling consistent functionality and appearance across both devices. This provides a good user experience for the user while minimizing code duplication and maintenance for the developer.
Software Architecture
The iOS Compatibility Kit provides a JDK which can be used to compile and run Java code on iOS. The code of the MicroEJ Application and of the libraries it depends on is executed on a Java VM started by the iOS app.
The JDK runtime includes JavaFX to be able to display Applications which use MicroUI or MicroVG.
Workflow
The iOS app can be developed and built on Xcode as a regular iOS application. To run a MicroEJ Application, the Xcode project is configured to embed:
the runtime libraries of the JDK (JARs and native libraries),
the implementation of the MicroEJ Foundation Libraries compiled against Java SE and JavaFX APIs,
the code and resources of the MicroEJ Application and of the Add-On Libraries that it depends on.
Evaluation
The iOS Compatibility Kit is available on demand. You can contact MicroEJ Support to evaluate this solution.