Closed ghost closed 5 years ago
Mobile is on the cards for the framework in the future. As well as the compilation we would need to add some platform support - iOS and Android will handle certain things differently to desktop systems and we want to work seamlessly :)
There is also android-go project that could be a good fite. They have managed to launch Nuklear already. https://github.com/xlab/android-go
Great hint. Once we resolve #239 then we could look at mobile platforms properly.
Hi @andydotxyz , I have asked on Max's project and he seems looking forward to give it a try : https://github.com/xlab/android-go/issues/29
There is a new branch named feature/android where we have early versions of an android driver running. It’s using gomobile for now until we hit its limits. The nice thing is that you can use “go build” to compile a desktop app or “gomobile build” to build a mobile app. Exact same app code :). This will be released in 1.2 later in the year.
Trying too capture those things required to complete mobile support:
Removed TODO item duplicated in #413
Moved theme detection to #472 as the APIs are it required brand new devices so not very common yet.
That’s all the items in this ticket in. Still no keyboard support but that is in a separate ticket
The base framework can probably be compiled to ndk and iOS as a shared lib. Then go can be be compiled against it.
Or the traditional root of using gomonile but I think it will be too limiting.
Either way it is worth trying out.