I love Vaadin and vaadin enabled developer ecosystem. Building full stack apps is a lot simpler in Vaadin compared to separate frontend/backend development.
However, i would really love it if Vaadin could bridge the gap in native mobile application space.
Specifically, the fact that, a native mobile application cannot be built as a Vaadin project yet.
I thought of just some notes on a potential technical solution here, in the hopes that the Vaadin team and/or the community might find it useful.
You’re not the first one to suggest something like that, so it’s a legitimate issue. The way I see it, ignoring any technical analysis, any Vaadin-based approach would be constrained to the following:
Stateful Java backends
Online-only or with very limited offline functionality
Forms-and-grids type business UIs, not consumer applications
Relaxing any of the above restrictions would also benefit the web-based Vaadin community, so those things should arguably be easier and also more beneficial to implement.
In other words, right now the target audience of a native application Vaadin framework would be essentially the people who already build Vaadin applications for the web, but want to have an app in the app store as well. Whether that is worth the effort is the question.
Also worth noting that while a data-driven app would be relatively straightforward for things like form inputs, any complex custom component like a chart or a map would need a full custom implementation
I have no idea what hxml is, but would be really interested to hear what exact features are you missing (that can’t be done in regular PWA/Vaadin apps)? I have quite a bunch of Vaadin based PWA apps that I use daily or at least weekly and I’m very happy about their functionality, some screenshots below. Especially now that also iPhone supports push notifications.
I do agree though we’d need more “official” mobile/handheld optimized components. E.g. the “bottom nav” is kind of a standard also in other apps, but I have needed to build my own custom version for that.