An event emitted when a new version of the app is available.
API
interface VersionReadyEvent {
type: "VERSION_READY";
currentVersion: { hash: string; appData?: object | undefined; };
latestVersion: { hash: string; appData?: object | undefined; };
}
type
"VERSION_READY"currentVersion
{ hash: string; appData?: object | undefined; }latestVersion
{ hash: string; appData?: object | undefined; }