Skip to content

1681-engine / updates / apkUpdateOf

Function: apkUpdateOf() ​

ts
function apkUpdateOf(
   latest, 
   channelUrl, 
   clientVersion, 
   webBundle
): NewerRelease | null;

Defined in: src/updates/pickUpdate.ts:30

The build's APK, when it is newer than this client and its web cannot come over the air instead (webBundle is what pickWebUpdate found): the package is the slow road, for native changes.

Parameters ​

ParameterType
latestLatestJson
channelUrlstring
clientVersionstring
webBundleWebBundle | null

Returns ​

NewerRelease | null

Released under the MIT License.