Using Realm on MOE

The question is how you want to use Realm:

  • the official Realm Java bindings. In this case you need to link with the Realm core and also link the Realm JNI bindings (I assume they created one for Android / Java), and include their Java API in your project as a dependency. This would be my recommendation, because this way you can share your Realm related Java code across Android and iOS.
  • Generate Java bindings from the Realm Objective-C / Swift bindings with Nat/J Gen. I don’t recommend this, because although you can access Realm from Java using this method, it will not be identical with the binding on Android.

Best Regards,
Gergely