Skip to main content

set_launch_deeplink

Function set_launch_deeplink 

Source
pub fn set_launch_deeplink(route: &str)
Expand description

Record the host’s launch deep link before launch_with runs (docs/navigation.md). Platform glue only — apps navigate with navigate. DAY_DEEPLINK, where a process environment exists, takes precedence.

UI THREAD ONLY: the slot is thread-local, because the web host that seeds it runs on the one thread there is. Glue that may be called from another thread (a notification tap arriving on a JNI or delegate thread) wants request_route, which is thread-safe and works at any lifecycle stage.

Day API ↩ Guides· daybrite.dev