I was wondering if it would be possible to use MOE to expose a java library to be used by an IOS app.
So rather than doing the UI in MOE, we wanted the UI to be done as a normal IOS app, but then the IOS developer would be able to use the business logic we have in our java library
Did you have any success in trying to make this work?
Nope, never got an answer so decided not to potentially waste a lot of time (like i did when i invested in having the app built using robovm), and instead built the app using ionic framework
It is unfortunate, that this topic fell through the cracks, and did not get an answer specifically. We try to answer every question on this forum, if you don’t get an answer for an extended period of time, you should ask again / ping the topic. We can’t provide an SLA for free support forums, but we do our best to help everyone.
However, I did answer multiple other topics about this exact same question. For example:
Following some of the discussion on
this post from the forum at Intel, has there been any discussion on support for building frameworks or pods to include in existing iOS projects? The largest barrier to introducing shared code between our iOS and Android teams is that the iOS team would have to switch to a MOE project. Being able to distribute a library as a pod would let many orgs start using MOE without fully switching over their iOS team.
Ideally we would be able to build and distribute a …
There are multiple facets to this question:
We don't have a special "MOE library project" that is the cross-platform equivalent of Android AAR. However, you can build cross-platform JAR projects, that you can pull in as a dependency into your Android and your MOE project.
Using this cross-platform Java library in a non-MOE Xcode project is not possible: you will need some changes to the Xcode project to call into the Java build process, to link with the MOE framework, and also add the special…
If you have any more questions, I am happy to answer.
Ah I see thanks !
I’ll review using multi-os then when we do the full-featured version (the ionic one is going to be a “lite” version of the app)