Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 850 Bytes

checkForUpdate.md

File metadata and controls

29 lines (15 loc) · 850 Bytes

@appzung/react-native-code-push v11.0.0-rc3


@appzung/react-native-code-push / checkForUpdate

Function: checkForUpdate()

checkForUpdate(releaseChannelPublicId?, handleBinaryVersionMismatchCallback?): Promise<null | RemotePackage>

Asks the CodePush service whether the configured app release channel has an update available.

Parameters

releaseChannelPublicId?

string

The release channel public ID to use to query the CodePush server for an update.

handleBinaryVersionMismatchCallback?

HandleBinaryVersionMismatchCallback

An optional callback for handling target binary version mismatch

Returns

Promise<null | RemotePackage>