LiveReactNative.RN (live_react_native v0.0.3)
View SourceReact Native specific commands for LiveView.
This module provides server-side functions to push mobile-specific commands (navigation, haptics, notifications, etc.) to React Native clients.
Summary
Functions
Push a custom event to RN clients. Web clients ignore these commands.
Functions
Push a custom event to RN clients. Web clients ignore these commands.
Example:
RN.push_event(socket, "typing", %{user_id: user.id})