Skip to main content

UpdateControllerPlugin.checkNewVersion()

BFChainPluginUpdateControllerPlugincheckNewVersionLess than 1 minute

Check if there is a new app version.

Example

import { updateControllerPlugin } from "@plaoc/plugins";
updateControllerPlugin.checkNewVersion();

Function signature

checkNewVersion(): Promise<$DwebResult>

Parameters

  • none

return value

success returns true if a new version exists, false otherwise.

-$DwebResult

interface $DwebResult {
  success: boolean;
  message: string;
}

Platform compatibility

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