Skip to main content

UpdateControllerPlugin.download()

BFChainPluginUpdateControllerPlugindownloadLess than 1 minute

Responsible for downloading the app and jumping to the download interface after calling.

Example

import { updateControllerPlugin } from "@plaoc/plugins";
updateControllerPlugin.download("http://example.com/metadata.json");

Function signature

download(medatadaUrl?: string): Promise<boolean>

Parameters

  • metadataUrl

    The parameter is the address to access the app metadata.
    The parameter type is string.

return value

-boolean

Platform compatibility

Properties/Methods/EventsAndroidIOSDesktop
download
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7