How build a iOS/Android library on silver and call it from Java/Swift(native, apple)?

This is related to Viability for x-platform with Swift.

So with Silver/Elements I can build native apps. Now, if I want to just have the logic made with silver and then call it from java/android and ios/swift how is this possible?

This could look like a contrived case, but wonder how feasible is.

P.D: The reason is to see if I could call flutter (http://flutter.io) to build the UI and drive it from silver, and avoid building a binding library. Flutter allow to use message-passing so it look “easy” to bridge both.

Other more valid use case is that I need to build several utilities that could benefit to be on a single language, yet integrable into my (past) existing project to reduce some clutter…

2 Likes

Have a look at https://blogs.remobjects.com/2017/08/16/strategies-for-cross-platform-code-sharing-with-elements/. I can give more detailed tips tomorrow. But essentially you’ll just wanna build a jar project with your code, possibly in a Shared Project.