MCPcopy Create free account

hub / github.com/reactnativecn/react-native-update / functions

Functions494 in github.com/reactnativecn/react-native-update

↓ 3 callersFunctionrunReloadCommand
(id, expectedLabel)
Example/testHotUpdate/e2e/local-merge.test.js:28
↓ 3 callersFunctionselectStrategy
( testId: 'strategy-silent-now' | 'strategy-silent-later', )
Example/e2etest/e2e/local-merge.test.ts:126
↓ 3 callersFunctiontapCheckUpdateAndWaitForBundleLabel
(expectedLabel: string)
Example/e2etest/e2e/local-merge.test.ts:49
↓ 3 callersFunctiontestUrls
(urls?: string[])
src/utils.ts:87
↓ 3 callersFunctionwaitForDownloadSuccess
(expectedHash: string)
Example/e2etest/e2e/local-merge.test.ts:91
↓ 2 callersMethodapplyPatchFromFileSource
( String sourceRoot, String targetRoot, String originBundlePath, String bundle
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:413
↓ 2 callersMethodapplyPatchFromFileSource
(options: FileSourcePatchRequest)
harmony/pushy/src/main/ets/NativePatchCore.ts:78
↓ 2 callersFunctionapplyStrategy
(strategy: UpdateStrategyMode)
Example/e2etest/src/index.tsx:43
↓ 2 callersFunctionassertHash
(hash: string)
src/client.ts:103
↓ 2 callersMethodbuildArchivePatchPlan
( int patchType, String[] entryNames, String[] copyFroms, String[] copyTos,
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:433
↓ 2 callersMethodbuildArchivePatchPlan
( patchType: number, entryNames: string[], copyFroms: string[], copyTos: string[], deletes
harmony/pushy/src/main/ets/NativePatchCore.ts:69
↓ 2 callersMethodcapitalize
(String str)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:102
↓ 2 callersMethodcleanUp
()
harmony/pushy/src/main/ets/UpdateContext.ts:510
↓ 2 callersMethodcleanupOldEntries
( rootDir: string, keepCurrent: string, keepPrevious: string, maxAgeDays: number, )
harmony/pushy/src/main/ets/NativePatchCore.ts:79
↓ 2 callersFunctioncloneServerConfig
(server: UpdateServerConfig)
src/client.ts:63
↓ 2 callersMethodcopy
(InputStream in, FileOutputStream out)
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:63
↓ 2 callersFunctioncopyFromBase
(relativePath)
Example/e2etest/scripts/create-rn077-oldarch-project.js:33
↓ 2 callersMethodcopyInputStreamToFile
(InputStream input, File destination)
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:56
↓ 2 callersFunctioncreateJsonResponse
(payload: unknown)
src/__tests__/client.test.ts:5
↓ 2 callersMethoddownloadAndInstallApk
( final ReactApplicationContext reactContext, UpdateContext updateContext, final Reada
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:49
↓ 2 callersMethoddownloadAndInstallApk
(options: { url: string; target: string; hash: string; })
src/NativePushy.ts:35
↓ 2 callersMethoddownloadFullUpdate
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:29
↓ 2 callersMethoddownloadPatchFromPackage
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:72
↓ 2 callersMethoddownloadPatchFromPackage
(options: { updateUrl: string; hash: string; })
src/NativePushy.ts:27
↓ 2 callersMethoddownloadPatchFromPpk
( UpdateContext updateContext, final ReadableMap options, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:92
↓ 2 callersFunctionensureHdiffModule
()
Example/e2etest/scripts/prepare-local-update-artifacts.ts:158
↓ 2 callersFunctionensureHdiffModule
()
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:73
↓ 2 callersMethodensureLoaded
()
android/src/main/java/cn/reactnative/modules/update/NativeUpdateCore.java:9
↓ 2 callersFunctionexcludeConfiguredEndpoints
( endpoints: string[], configuredEndpoints: string[], )
src/client.ts:68
↓ 2 callersMethodextractPatchArchive
(File archiveFile, File unzipDirectory)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:215
↓ 2 callersFunctionextractText
(attributes)
Example/testHotUpdate/e2e/local-merge.test.js:36
↓ 2 callersFunctionfetch
(request: Request)
Example/e2etest/scripts/local-e2e-server.ts:120
↓ 2 callersFunctiongeneratePpkDiff
( origin: string, next: string, output: string, customDiff: (oldSource?: Buffer, newSource?: Buffer) =
Example/e2etest/scripts/prepare-local-update-artifacts.ts:252
↓ 2 callersMethodgetBuildTime
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:105
↓ 2 callersMethodgetBuildTime
()
harmony/pushy/src/main/ets/UpdateContext.ts:118
↓ 2 callersMethodgetBundlePath
(hash: string)
harmony/pushy/src/main/ets/UpdateContext.ts:203
↓ 2 callersMethodgetConstants
(UpdateContext updateContext)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleSupport.java:17
↓ 2 callersFunctiongetDetoxLaunchArgs
()
Example/e2etest/e2e/local-merge.test.ts:14
↓ 2 callersMethodgetLocalHashInfo
( UpdateContext updateContext, final String hash, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:260
↓ 2 callersFunctiongetLocalUpdateEndpoint
(platform: string)
Example/e2etest/e2e/localUpdateConfig.ts:36
↓ 2 callersMethodgetPackageVersion
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:93
↓ 2 callersMethodgetPackageVersion
()
harmony/pushy/src/main/ets/UpdateContext.ts:102
↓ 2 callersMethodgetReactHost
(@Nullable Activity currentActivity, Context application)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:159
↓ 2 callersFunctionhasDependencies
(dir)
scripts/build-harmony-har.js:448
↓ 2 callersFunctionimportFreshCore
(cacheKey: string)
src/__tests__/core.test.ts:10
↓ 2 callersMethodinterpolate
* Interpolate values into a string template * Supports {{key}} syntax * @param template - String template with {{key}} placeholders * @param
src/i18n.ts:67
↓ 2 callersFunctioninvokePushyMethod
(methodName, params)
Example/testHotUpdate/src/TestConsole.js:58
↓ 2 callersMethodisValidHashInfo
(@Nullable String json)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:18
↓ 2 callersFunctionjson
(body: unknown, status = 200)
Example/e2etest/scripts/local-e2e-server.ts:44
↓ 2 callersFunctionkeepProcessAlive
( label: string, promise: Promise<T>, timeoutMs = diffTimeoutMs, )
Example/e2etest/scripts/prepare-local-update-artifacts.ts:230
↓ 2 callersMethodlistEntryNames
(directory: string)
harmony/pushy/src/main/ets/DownloadTask.ts:154
↓ 2 callersMethodmarkSuccess
(final UpdateContext updateContext, final Promise promise)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:175
↓ 2 callersMethodmarkSuccessInternal
(UpdateContext updateContext)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:171
↓ 2 callersFunctionnormalizeError
(error: unknown)
src/endpoint.ts:21
↓ 2 callersFunctionnormalizeVersion
(version: string)
scripts/prepublish.ts:7
↓ 2 callersMethodonProgressUpdate
(received: number, total: number)
harmony/pushy/src/main/ets/DownloadTask.ts:433
↓ 2 callersFunctionpromiseAny
(promises: Promise<T>[])
src/utils.ts:23
↓ 2 callersMethodreadBoolean
(key: string, defaultValue: boolean)
harmony/pushy/src/main/ets/UpdateContext.ts:157
↓ 2 callersMethodreadManifestArrays
( directory: string, normalizeResourceCopies: boolean, )
harmony/pushy/src/main/ets/DownloadTask.ts:207
↓ 2 callersMethodregister
(ReactApplicationContext reactContext)
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:16
↓ 2 callersMethodreloadBridge
()
harmony/pushy/src/main/ets/PushyTurboModule.ts:87
↓ 2 callersMethodreloadReactHost
(Object reactHost, JSBundleLoader loader)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:232
↓ 2 callersMethodreloadUpdate
( final UpdateContext updateContext, final ReactApplicationContext reactContext, final
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:118
↓ 2 callersMethodremoveDirectory
(path: string)
harmony/pushy/src/main/ets/DownloadTask.ts:80
↓ 2 callersMethodrequireHash
(hash: string, methodName: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:49
↓ 2 callersFunctionresolveBinary
(name, candidates)
scripts/build-harmony-har.js:354
↓ 2 callersFunctionretry
()
Example/e2etest/e2e/globalSetup.ts:145
↓ 2 callersFunctionretry
()
Example/testHotUpdate/e2e/globalSetup.js:83
↓ 2 callersMethodrollBack
()
harmony/pushy/src/main/ets/UpdateContext.ts:505
↓ 2 callersFunctionrunPushy
(args, cwd)
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:50
↓ 2 callersMethodrunStateCore
( operation: number, state: StateCoreResult, stringArg?: string, flagA?: boolean, flagB?:
harmony/pushy/src/main/ets/NativePatchCore.ts:62
↓ 2 callersMethodsetKv
(String key, String value)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:234
↓ 2 callersMethodsetKv
(key: string, value: string)
harmony/pushy/src/main/ets/UpdateContext.ts:323
↓ 2 callersFunctionsetLocalHashInfo
(hash: string, info: Record<string, any>)
src/core.ts:37
↓ 2 callersMethodsetLocalHashInfo
( final UpdateContext updateContext, final String hash, final String info, fin
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:232
↓ 2 callersMethodsetLocalHashInfo
(hash: string, info: string)
src/NativePushy.ts:15
↓ 2 callersMethodsetLocalHashInfoInternal
( UpdateContext updateContext, String hash, String info )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:221
↓ 2 callersMethodsetNeedUpdate
( final UpdateContext updateContext, final ReadableMap options, final Promise promise
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:146
↓ 2 callersMethodsetNeedUpdateInternal
(UpdateContext updateContext, String hash)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:142
↓ 2 callersMethodsetUuid
( final UpdateContext updateContext, final String uuid, final Promise promise )
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:198
↓ 2 callersMethodsetUuidInternal
(UpdateContext updateContext, String uuid)
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:194
↓ 2 callersMethodswitchVersion
(String hash)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:215
↓ 2 callersMethodsyncStateWithBinaryVersion
( packageVersion: string, buildTime: string, state: StateCoreResult, )
harmony/pushy/src/main/ets/NativePatchCore.ts:57
↓ 2 callersFunctiontapShortcut
(id)
Example/testHotUpdate/e2e/local-merge.test.js:13
↓ 2 callersMethodunzipToFile
(ZipEntry ze, File target)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:74
↓ 2 callersMethodunzipToPath
(ZipEntry ze, File targetPath)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:56
↓ 2 callersFunctionvalidateHashInfo
(info: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:20
↓ 2 callersFunctionwaitForRequestReady
( url: string, init: RequestInit, label: string, timeoutMs = 30000, )
Example/e2etest/e2e/globalSetup.ts:163
↓ 2 callersFunctionwriteFallbackPatch
(label: string, filePath: string)
Example/e2etest/scripts/prepare-local-update-artifacts.ts:218
↓ 2 callersMethodwriteFileContent
( targetFile: string, content: ArrayBuffer | Uint8Array, )
harmony/pushy/src/main/ets/DownloadTask.ts:165
↓ 1 callersMethodappendManifestEntries
( JSONObject manifest, ArrayList<String> copyFroms, ArrayList<String> copyTos,
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:144
↓ 1 callersMethodapplyBundlePatchFromFileSource
( originContent: ArrayBuffer, workingDirectory: string, bundlePatchPath: string, outputFile: s
harmony/pushy/src/main/ets/DownloadTask.ts:227
↓ 1 callersMethodapplyState
(state: StateCoreResult)
harmony/pushy/src/main/ets/UpdateContext.ts:219
↓ 1 callersMethodbuildCopyGroups
( String[] copyFroms, String[] copyTos )
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:441
↓ 1 callersMethodbuildCopyGroups
(copyFroms: string[], copyTos: string[])
harmony/pushy/src/main/ets/NativePatchCore.ts:77
↓ 1 callersMethodbuildCopyList
( File unzipDirectory, CopyGroupResult[] groups )
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:187
↓ 1 callersFunctionbuildHar
()
scripts/build-harmony-har.js:89
↓ 1 callersFunctionbuildNativeArtifacts
()
scripts/prepublish.ts:115
↓ 1 callersFunctionbuildUpdateResponse
( platform: string, currentHash: string, origin: string, )
Example/e2etest/scripts/local-e2e-server.ts:66
↓ 1 callersFunctioncalculateContentHash
(bundleCode)
scripts/bundle-metadata-plugin.js:7
← previousnext →101–200 of 494, ranked by callers