CharlesIrvine

CharlesIrvine

I getting ready to start developing a mobile phone targeted web app. I am very tempted to use LiveView since I have good experience using it. The alternative is to tackle some significant learning curves: Flutter, React Native, Supabase, etc.

In another thread (May of 23), Jose voiced his opinion that LV wasn’t yet mobile ready.

I’ve looked ever so briefly at LiveView Native and it doesn’t seem ready for prime time.

So, what are the possible down sides of LV targeted mobile apps?

PS: my app will automate the execution of pool tournaments.

Showing Posts 1 to 10

Stefano1990

Stefano1990

If you are building a web app then yes it’s fine, you don’t even need liveview native for that.

If you need an app with offline functionality or similar even liveview native won’t get you there.

derek-zhou

derek-zhou

The usual downside is that on a mobile browser, the websocket connection often breaks and reconnects. Your users will see some hiccup every once in a while.

CharlesIrvine

CharlesIrvine OP

Can you give me and example or two of what a hiccup might look like?

If instead of a LiveView app, I have a React Native app talking to a JSON server, would I not have similar problems?

Thanks

derek-zhou

derek-zhou

You can test yourself. get 2 cell phones, and try this app I wrote:

https://gara.fly.dev

It is a chat implemented in Phoenix LiveView, hosted in IAD region on fly.io

CharlesIrvine

CharlesIrvine OP

Sorry, but it’s not obvious to me what I should do with the app or what effect I am supposed to notice. Can you clarify a bit?

code-shoily

code-shoily

It’s basically a chat app where you can share messages or files. To test if an LV app works on phone, get two phones and join this app and send messages and see how snappy the refresh is on the other phone (I am guessing you will get autogenerated nicks for each phones)

OmarGoubail

OmarGoubail

I would like to add that while liveview doesn’t explicitly support offline functionality, you could build your own, using client side rendering, like returning react components from js hooks for example and using all the front end tech you might know. There’s also Electric sql which is new but has a phx integration.

CharlesIrvine

CharlesIrvine OP

I gather that I am supposed to create a chat room on one phone and then join the same chat room on another phone. Problem is, I can’t figure out how to join an existing chat room. It seems I can only create new rooms. What am I missing?

CharlesIrvine

CharlesIrvine OP

Actually, for my target application, offline functionality isn’t needed. I’m guessing that @josevalim wasn’t referring to offline functionality when I said, in May 2023, that LiveView wasn’t mobile ready. But that was a long time ago. Maybe the issues he referred to are no longer present.

axelson

axelson

Scenic Core Team

One issue to check on mobile is if you open the site on mobile then background your browser and then a while later you switch back to your browser then LiveView may refresh the page which causes the user to lose their place in whatever they were doing. This happens even more frequently if your network connection is not strong.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
georgeguimaraes
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews