API Reference live_react_native v#0.0.3

View Source

Modules

Pure state management for Phoenix LiveView mobile apps.

Serializes any Phoenix.HTML.FormData assign (Ecto changeset via to_form/1, AshPhoenix.Form, or a bare %Phoenix.HTML.Form{}) to a wire-safe shape the mobile client renders: %{name, params, errors, valid}.

Phoenix Channel that bridges React Native clients to Phoenix LiveView business logic.

use this in your app's mobile socket and override resolve_user/2 and build_session/3. The library performs no authentication — you resolve identity with your existing verifier and gate routes with your existing live_session/on_mount hooks.

Supervisor for mobile-native Phoenix Channel components.

React Native specific commands for LiveView.

Library-owned, LiveView-shaped mobile upload support (server mode). Mirrors allow_upload/consume_uploads names but is built on Phoenix's patterns, not its private Phoenix.LiveView.Upload* modules. State lives as a plain (non-change-tracked) assign under :__mobile_uploads__; progress is reported client-side, so this state is never diffed to the phone.