onetwothree wrote:@Markerz, what do you think about SDL library. Will it be useful to use it for mobile frontends?
I checked the status of SDL online, it seems if you use SDL, then there would not be any native UI control possible. while the desktop version has keyboard that covers a lot of the use case, the mobile platform would need native UI controls and using SDL might be a bad idea.
For the iOS build here it is using everything native (iOS's GLKit to provide a view for OpenGL ES to draw), an Objective-C++ wrapper (modified from existing Mac OS X frontend code from 1.6.1) around celestiacore to interact with. Most of the UI code is done using Swift which is an ease to use and has good coop with Objective-C.
For other mobile platforms, well apparently there is only Android for now. I would suggest doing the same natively, a Java/Kotlin wrapper around celestiacore, and use Java/Kotlin to build the UI. There are other options for UI, like React Native, Flutter, both are crossplat but personally I'd prefer Java/Kotlin since iOS port is already working.