UpdateControllerPlugin.checkNewVersion()
PluginUpdateControllerPlugincheckNewVersionLess 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/Events | Android | IOS | Desktop |
---|---|---|---|
checkNewVersion | ✅ | ✅ | ✅ |
Powered by Waline v2.15.7