Skip to main content

set_application_id

Function set_application_id 

Source
pub fn set_application_id(
    application_id: &str,
) -> Result<(), PlatformDirectoryError>
Expand description

Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers the id every framework-owned storage path is scoped by.

Platform backends call this at startup with what the platform packaged — the Android package name, the iOS bundle identifier, the desktop application name — so applications never assemble a storage path themselves.