Skip to content

TemporaryVault.syncToDevice method

TemporaryVault › syncToDevice

Pushes all files from the local staging directory to the target device via the active transport's pushFiles().

On desktop transports this is a no-op (files are already local). On mobile transports (Appium) this pushes files to the device.

Call this after populate and before register when using a mobile transport.

Signature:

syncToDevice(transportOverride?: ObsidianTransport | undefined): Promise<void>

Parameters:

ParameterTypeDescription
transportOverride?ObsidianTransport | undefinedAn explicit transport to use. When omitted, falls back to the transport configured via the context provider.

Returns: Promise<void>