Skip to main content

os_label

Function os_label 

Source
pub fn os_label() -> &'static str
Expand description

Canonical platform-family label — the single source of truth for “which OS is this,” shared by the WebView bridge config injection (lingxia-lxapp), lx.app.getBaseInfo().os, and lx.getDeviceInfo().osName (lingxia-logic) so the three can never drift apart. Matches the values the View-side bridge already exposes via usePlatform().os.