UpdateControllerPlugin.download()

BFChainAugust 11, 2023
  • Plugin
  • UpdateControllerPlugin
  • download
Less than 1 minute

download apps

UpdateControllerPlugin.download(metadataUrl)

parameters

  • metadataUrl

    The parameter is the address to access app metadata; The type of the parameter is string;

return value

Return a Promise, resolve to fulfill the BFSMetaData object

Example

import { dwebServiceWorkerPlugin } from "@plaoc/plugin"
dwebServiceWorkerPlugin.updateController.download("http://xxx")

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
downloadX

UpdateControllerPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0