pmjoe
Elixir is a dynamic language, given that LiveView Native applications are built with it and shipped to the clients would the clients get access to all source code easily?
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
Hey guys,
I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly
Do you guys have any suggestions what is the best prac...
New
Hello!
Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app.
I creat...
New
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
Hello,
I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter).
The diffic...
New
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
I think I’ve found a small improvement I could contribute to <%= web_namespace %>.CoreComponents (installer/templates/phx_web/compo...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Aludel - LLM Evaluation Workbench
Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #elixirconf-us
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
victorbjorklund
No, they can’t. Liveview Native is two parts. The Swift client (or android client in a latter stage) and the server.
Can they get the Swift code that is shipped to the client? Yes, in theory they can decode it by reverse engineer it (which you can do with any app). However, there isn’t much for them to find there compared to a “normal” swift app since it will mostly be boilerplate code for the client (which they can find on Liveview Natives Github).
Can they get the Elixir code on the server? Not unless you have any vulnerabilities in the code or on the server that gives them remote access (and then they can still only access the compiled BEAM files). But that can happen with any backend.
So in summary, Liveview Native is probably “more” secure against reverse engineering than a normal Swift app.
pmjoe
But wasn’t the server supposed to be deployed with the app? Something like an Electron app? Or it will be really a server over the network and by doing that there will be no offline access, right?
rcm765
We haven’t yet tried but we’re speculating that we could build a Swift client shipped with a Phoenix LV server compiled into it. This would allow for offline mode, low connectivity mode. However, to the best of my knowledge the Phoenix app would still be compiled and you’d be talking about the same issue of having decompile any natively built app. Elixir doesn’t run as a script, you’d only be getting the binary.
tme_317
It would be really
if LVN could support offline maybe using a similar approach as elixir-desktop · GitHub. At least the part about bundling the ERTS, Elixir, and Phx/LV server into a runtime binary with local sqlite database installed on the mobile device. I was really impressed it actually worked great when I tested it on iOS!
I guess a lot of complexity would be if local data needs to be synchronized with a server when going back online? I haven’t researched it but maybe that’s a “solved problem” nowadays??
At work I’ve had early discussions about maybe writing a pretty simple internal mobile app which would have to stay reliable in offline network conditions and really don’t want to have to learn Swift or use RN. The small app would likely just take a couple days if I could use LVN!
D4no0
It’s not about synchronization when we talk about offline apps. There are a lot of tools to manage that, however if you don’t have native bindings implemented, you are very limited in what you can do compared to classical native apps, this is the state that libraries like
elixir-desktopcurrently are.