Skip to main content

set_platform_launch_args

Function set_platform_launch_args 

Source
pub fn set_platform_launch_args(args: LaunchArgsRef)
Expand description

Installs the launch arguments reported by the platform, replacing any previous snapshot for every thread of the process.

Android calls this at startup with the launching intent’s extras, and again from onNewIntent. A backend that replaces the snapshot after startup must also force a root render, because a plain shared cell is not reactive.