Skip to main content

Function: updateCodePush

▸ updateCodePush(params?, time?): Promise<AlertResult>

코드 푸쉬 업데이트를 강제적으로 발생시키는 메시지입니다. 푸쉬 업데이트 진행여부에 대한 모달을 띄우게 됩니다.

Parameters​

NameType
params?UpdateCodePushParams
time?number

Returns​

Promise<AlertResult>

Version

1.87.0-0

Example

   const onUpdateCodePush = useCallback(() => {
if (updateCodePush.isSupported) {
updateCodePush()
} else {
alert('updateCodePush not supported')
}
}, [])

Defined in​

message/WebToApp/updateCodePush.ts:21