UpdateAvailableEvent
An event emitted when a new version of the app is available.
interface UpdateAvailableEvent {
type: 'UPDATE_AVAILABLE'
current: {...}
available: {...}
}
属性
属性 | 说明 |
---|---|
type: 'UPDATE_AVAILABLE' | |
current: {
hash: string;
appData?: Object;
} | |
available: {
hash: string;
appData?: Object;
} |