I am relatively new to Elixir (creating my first hobby app and learning on the go) and I wonder about where Elixir and particularly LiveView fit well.
Costs of supporting several platforms
A large share of startups that I see are fully or mostly mobile app based (think early Uber, Yelp or even AirBnB if it was started today). It involves having somebody to work on the backend, iOS, Android, web frontend (if there’s website) + somebody to design protocols/API, control their compatibility and at least half of a project manager to coordinate. Some people merge iOS/Android efforts via ReactNative or web tech running on the phone, but the amount of native nuances (e.g. trying to debug Android-specific layout troubles) is usually high and it’s rare that you save much while extra complexity is added.
Some teams just wrap web sites into app with tech like Cordova or Capacitor and then you just develop a single web site, but in order to make it look fast you still need to have a Single Page App that forces you to create and maintain a proper API.
LiveView opportunity
Now meet LiveView: an automagically fast web app that could be wrapped into a mobile app, no API to maintain, instant upgradeability (as it’s run on server side) and just one developer to create it all in a single language. Okay, plus somebody to help with the design, but such a person is needed for any option anyway.
It might be not exactly an ideal long-term solution as latency will exist, web pages will never feel 100% native, offline work is not really possible, using native functionalities (camera, gps, file upload, contacts, etc) might be tricky, but for many-many apps that don’t work offline anyway and are still searching most for product-market fit it seems like a killer option: just one developer to do it all, no caring of APIs + you get BEAMs reliability and scaling for free with one cheap(ish) machine possibly supporting many thousands of simultaneous users.
Is it actually happening?
Have you heard of Elixir/LiveView working well for mobile startups? Or have you considered it and rejected the idea?
Am I missing something?
- Maybe creating a decent UI with native-like navigation is tough specifically in LiveView? E.g. maybe the way LiveView patches web page DOM is poorly compatible with mobile web frameworks such as Ionic and it’s super hard to implement typical mobile app view stacks (sliding in from the right)?
- Maybe integrating with mobile capabilities via Cordova/Capacitor wrappers is hard and apps can’t really use camera, gps react to push messages easily?
- Or is it about founders not willing to do even significantly cheaper-faster prototypes in the technologies they are unlikely to continue using if prototype succeeds?
- Or maybe it’s all about the talent pool and elixir people just happen to be more backend-minded, telecom-banking oriented and don’t meet startup people much?