I’m embarking on a project where I have to develop native mobile user interfaces (iOS and Android) for an existing desktop JUCE application.
The existing JUCE application can conceptually be divided into the UI part and the CoreLib part (mostly Audio and some Networking).
My plan is to extract the CoreLib part from the app and make it a static library, which I can then link into in the native iOS app (written in Swift), Android app (Java) as well as refactor the existing JUCE app to use it.
But before I start, I’d like to find out if there are any tips/tricks/caveats when sharing a JUCE-based library with native apps and what are some best practices for cases like these ?
For example, is it possible to have a static library based on JUCE which can then be used on iOS and Android ?
Any tips on the subject will be highly appreciated.