Crosswake. NavigationTransition
(crosswake v0.2.4)
View Source
The closed Phoenix-to-native transition seam for the first-adopter iOS shell.
This module deliberately does not share the capability bridge's request/reply machinery. It emits one reserved LiveView event whose receiver may only make a best-effort delivery to the dedicated native navigation handler.
Summary
Functions
Validates and emits one D-04 transition envelope.
Types
@type result() :: {:ok, Phoenix.LiveView.Socket.t()} | {:error, :invalid_envelope | :incompatible_version}
Functions
@spec push(Phoenix.LiveView.Socket.t(), map()) :: result()
Validates and emits one D-04 transition envelope.
Invalid input is returned as a closed error before it can reach a browser or native authority. Errors intentionally never include the supplied input.