Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactnativecn/react-native-update
/ functions
Functions
494 in github.com/reactnativecn/react-native-update
⨍
Functions
494
◇
Types & classes
78
↓ 3 callers
Function
runReloadCommand
(id, expectedLabel)
Example/testHotUpdate/e2e/local-merge.test.js:28
↓ 3 callers
Function
selectStrategy
( testId: 'strategy-silent-now' | 'strategy-silent-later', )
Example/e2etest/e2e/local-merge.test.ts:126
↓ 3 callers
Function
tapCheckUpdateAndWaitForBundleLabel
(expectedLabel: string)
Example/e2etest/e2e/local-merge.test.ts:49
↓ 3 callers
Function
testUrls
(urls?: string[])
src/utils.ts:87
↓ 3 callers
Function
waitForDownloadSuccess
(expectedHash: string)
Example/e2etest/e2e/local-merge.test.ts:91
↓ 2 callers
Method
applyPatchFromFileSource
( String sourceRoot, String targetRoot, String originBundlePath, String bundle
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:413
↓ 2 callers
Method
applyPatchFromFileSource
(options: FileSourcePatchRequest)
harmony/pushy/src/main/ets/NativePatchCore.ts:78
↓ 2 callers
Function
applyStrategy
(strategy: UpdateStrategyMode)
Example/e2etest/src/index.tsx:43
↓ 2 callers
Function
assertHash
(hash: string)
src/client.ts:103
↓ 2 callers
Method
buildArchivePatchPlan
( int patchType, String[] entryNames, String[] copyFroms, String[] copyTos,
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:433
↓ 2 callers
Method
buildArchivePatchPlan
( patchType: number, entryNames: string[], copyFroms: string[], copyTos: string[], deletes
harmony/pushy/src/main/ets/NativePatchCore.ts:69
↓ 2 callers
Method
capitalize
(String str)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:102
↓ 2 callers
Method
cleanUp
()
harmony/pushy/src/main/ets/UpdateContext.ts:510
↓ 2 callers
Method
cleanupOldEntries
( rootDir: string, keepCurrent: string, keepPrevious: string, maxAgeDays: number, )
harmony/pushy/src/main/ets/NativePatchCore.ts:79
↓ 2 callers
Function
cloneServerConfig
(server: UpdateServerConfig)
src/client.ts:63
↓ 2 callers
Method
copy
(InputStream in, FileOutputStream out)
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:63
↓ 2 callers
Function
copyFromBase
(relativePath)
Example/e2etest/scripts/create-rn077-oldarch-project.js:33
↓ 2 callers
Method
copyInputStreamToFile
(InputStream input, File destination)
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:56
↓ 2 callers
Function
createJsonResponse
(payload: unknown)
src/__tests__/client.test.ts:5
↓ 2 callers
Method
downloadAndInstallApk
( final ReactApplicationContext reactContext, UpdateContext updateContext, final Reada
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:49
↓ 2 callers
Method
downloadAndInstallApk
(options: { url: string; target: string; hash: string; })
src/NativePushy.ts:35
↓ 2 callers
Method
downloadFullUpdate
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:29
↓ 2 callers
Method
downloadPatchFromPackage
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:72
↓ 2 callers
Method
downloadPatchFromPackage
(options: { updateUrl: string; hash: string; })
src/NativePushy.ts:27
↓ 2 callers
Method
downloadPatchFromPpk
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:92
↓ 2 callers
Function
ensureHdiffModule
()
Example/e2etest/scripts/prepare-local-update-artifacts.ts:158
↓ 2 callers
Function
ensureHdiffModule
()
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:73
↓ 2 callers
Method
ensureLoaded
()
android/src/main/java/cn/reactnative/modules/update/NativeUpdateCore.java:9
↓ 2 callers
Function
excludeConfiguredEndpoints
( endpoints: string[], configuredEndpoints: string[], )
src/client.ts:68
↓ 2 callers
Method
extractPatchArchive
(File archiveFile, File unzipDirectory)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:215
↓ 2 callers
Function
extractText
(attributes)
Example/testHotUpdate/e2e/local-merge.test.js:36
↓ 2 callers
Function
fetch
(request: Request)
Example/e2etest/scripts/local-e2e-server.ts:120
↓ 2 callers
Function
generatePpkDiff
( origin: string, next: string, output: string, customDiff: (oldSource?: Buffer, newSource?: Buffer) =
Example/e2etest/scripts/prepare-local-update-artifacts.ts:252
↓ 2 callers
Method
getBuildTime
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:105
↓ 2 callers
Method
getBuildTime
()
harmony/pushy/src/main/ets/UpdateContext.ts:118
↓ 2 callers
Method
getBundlePath
(hash: string)
harmony/pushy/src/main/ets/UpdateContext.ts:203
↓ 2 callers
Method
getConstants
(UpdateContext updateContext)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleSupport.java:17
↓ 2 callers
Function
getDetoxLaunchArgs
()
Example/e2etest/e2e/local-merge.test.ts:14
↓ 2 callers
Method
getLocalHashInfo
( UpdateContext updateContext, final String hash, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:260
↓ 2 callers
Function
getLocalUpdateEndpoint
(platform: string)
Example/e2etest/e2e/localUpdateConfig.ts:36
↓ 2 callers
Method
getPackageVersion
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:93
↓ 2 callers
Method
getPackageVersion
()
harmony/pushy/src/main/ets/UpdateContext.ts:102
↓ 2 callers
Method
getReactHost
(@Nullable Activity currentActivity, Context application)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:159
↓ 2 callers
Function
hasDependencies
(dir)
scripts/build-harmony-har.js:448
↓ 2 callers
Function
importFreshCore
(cacheKey: string)
src/__tests__/core.test.ts:10
↓ 2 callers
Method
interpolate
* Interpolate values into a string template * Supports {{key}} syntax * @param template - String template with {{key}} placeholders * @param
src/i18n.ts:67
↓ 2 callers
Function
invokePushyMethod
(methodName, params)
Example/testHotUpdate/src/TestConsole.js:58
↓ 2 callers
Method
isValidHashInfo
(@Nullable String json)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:18
↓ 2 callers
Function
json
(body: unknown, status = 200)
Example/e2etest/scripts/local-e2e-server.ts:44
↓ 2 callers
Function
keepProcessAlive
( label: string, promise: Promise<T>, timeoutMs = diffTimeoutMs, )
Example/e2etest/scripts/prepare-local-update-artifacts.ts:230
↓ 2 callers
Method
listEntryNames
(directory: string)
harmony/pushy/src/main/ets/DownloadTask.ts:154
↓ 2 callers
Method
markSuccess
(final UpdateContext updateContext, final Promise promise)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:175
↓ 2 callers
Method
markSuccessInternal
(UpdateContext updateContext)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:171
↓ 2 callers
Function
normalizeError
(error: unknown)
src/endpoint.ts:21
↓ 2 callers
Function
normalizeVersion
(version: string)
scripts/prepublish.ts:7
↓ 2 callers
Method
onProgressUpdate
(received: number, total: number)
harmony/pushy/src/main/ets/DownloadTask.ts:433
↓ 2 callers
Function
promiseAny
(promises: Promise<T>[])
src/utils.ts:23
↓ 2 callers
Method
readBoolean
(key: string, defaultValue: boolean)
harmony/pushy/src/main/ets/UpdateContext.ts:157
↓ 2 callers
Method
readManifestArrays
( directory: string, normalizeResourceCopies: boolean, )
harmony/pushy/src/main/ets/DownloadTask.ts:207
↓ 2 callers
Method
register
(ReactApplicationContext reactContext)
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:16
↓ 2 callers
Method
reloadBridge
()
harmony/pushy/src/main/ets/PushyTurboModule.ts:87
↓ 2 callers
Method
reloadReactHost
(Object reactHost, JSBundleLoader loader)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:232
↓ 2 callers
Method
reloadUpdate
( final UpdateContext updateContext, final ReactApplicationContext reactContext, final
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:118
↓ 2 callers
Method
removeDirectory
(path: string)
harmony/pushy/src/main/ets/DownloadTask.ts:80
↓ 2 callers
Method
requireHash
(hash: string, methodName: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:49
↓ 2 callers
Function
resolveBinary
(name, candidates)
scripts/build-harmony-har.js:354
↓ 2 callers
Function
retry
()
Example/e2etest/e2e/globalSetup.ts:145
↓ 2 callers
Function
retry
()
Example/testHotUpdate/e2e/globalSetup.js:83
↓ 2 callers
Method
rollBack
()
harmony/pushy/src/main/ets/UpdateContext.ts:505
↓ 2 callers
Function
runPushy
(args, cwd)
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:50
↓ 2 callers
Method
runStateCore
( operation: number, state: StateCoreResult, stringArg?: string, flagA?: boolean, flagB?:
harmony/pushy/src/main/ets/NativePatchCore.ts:62
↓ 2 callers
Method
setKv
(String key, String value)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:234
↓ 2 callers
Method
setKv
(key: string, value: string)
harmony/pushy/src/main/ets/UpdateContext.ts:323
↓ 2 callers
Function
setLocalHashInfo
(hash: string, info: Record<string, any>)
src/core.ts:37
↓ 2 callers
Method
setLocalHashInfo
( final UpdateContext updateContext, final String hash, final String info, fin
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:232
↓ 2 callers
Method
setLocalHashInfo
(hash: string, info: string)
src/NativePushy.ts:15
↓ 2 callers
Method
setLocalHashInfoInternal
( UpdateContext updateContext, String hash, String info )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:221
↓ 2 callers
Method
setNeedUpdate
( final UpdateContext updateContext, final ReadableMap options, final Promise promise
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:146
↓ 2 callers
Method
setNeedUpdateInternal
(UpdateContext updateContext, String hash)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:142
↓ 2 callers
Method
setUuid
( final UpdateContext updateContext, final String uuid, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:198
↓ 2 callers
Method
setUuidInternal
(UpdateContext updateContext, String uuid)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:194
↓ 2 callers
Method
switchVersion
(String hash)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:215
↓ 2 callers
Method
syncStateWithBinaryVersion
( packageVersion: string, buildTime: string, state: StateCoreResult, )
harmony/pushy/src/main/ets/NativePatchCore.ts:57
↓ 2 callers
Function
tapShortcut
(id)
Example/testHotUpdate/e2e/local-merge.test.js:13
↓ 2 callers
Method
unzipToFile
(ZipEntry ze, File target)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:74
↓ 2 callers
Method
unzipToPath
(ZipEntry ze, File targetPath)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:56
↓ 2 callers
Function
validateHashInfo
(info: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:20
↓ 2 callers
Function
waitForRequestReady
( url: string, init: RequestInit, label: string, timeoutMs = 30000, )
Example/e2etest/e2e/globalSetup.ts:163
↓ 2 callers
Function
writeFallbackPatch
(label: string, filePath: string)
Example/e2etest/scripts/prepare-local-update-artifacts.ts:218
↓ 2 callers
Method
writeFileContent
( targetFile: string, content: ArrayBuffer | Uint8Array, )
harmony/pushy/src/main/ets/DownloadTask.ts:165
↓ 1 callers
Method
appendManifestEntries
( JSONObject manifest, ArrayList<String> copyFroms, ArrayList<String> copyTos,
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:144
↓ 1 callers
Method
applyBundlePatchFromFileSource
( originContent: ArrayBuffer, workingDirectory: string, bundlePatchPath: string, outputFile: s
harmony/pushy/src/main/ets/DownloadTask.ts:227
↓ 1 callers
Method
applyState
(state: StateCoreResult)
harmony/pushy/src/main/ets/UpdateContext.ts:219
↓ 1 callers
Method
buildCopyGroups
( String[] copyFroms, String[] copyTos )
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:441
↓ 1 callers
Method
buildCopyGroups
(copyFroms: string[], copyTos: string[])
harmony/pushy/src/main/ets/NativePatchCore.ts:77
↓ 1 callers
Method
buildCopyList
( File unzipDirectory, CopyGroupResult[] groups )
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:187
↓ 1 callers
Function
buildHar
()
scripts/build-harmony-har.js:89
↓ 1 callers
Function
buildNativeArtifacts
()
scripts/prepublish.ts:115
↓ 1 callers
Function
buildUpdateResponse
( platform: string, currentHash: string, origin: string, )
Example/e2etest/scripts/local-e2e-server.ts:66
↓ 1 callers
Function
calculateContentHash
(bundleCode)
scripts/bundle-metadata-plugin.js:7
← previous
next →
101–200 of 494, ranked by callers