MCPcopy Create free account

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

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

↓ 1 callersFunctionprocessHBCFile
(hbcFilePath)
scripts/hermesc-wrapper.js:45
↓ 1 callersFunctionreactNativeUpdatePlugin
()
harmony/hvigor-plugin.ts:4
↓ 1 callersFunctionreadBundleMetadata
* 从 Hermes 字节码文件中读取 metadata * 支持两种方式: * 1. 从文件末尾的自定义 Meta 块读取(新方式,推荐) * 2. 从 Hermes -meta 参数注入的数据读取(旧方式,备用)
scripts/read.js:9
↓ 1 callersMethodreadBytes
(InputStream input)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:131
↓ 1 callersMethodreadFileContent
(filePath: string)
harmony/pushy/src/main/ets/DownloadTask.ts:141
↓ 1 callersFunctionreadMetadataFromHBCFooter
* 从 HBC 文件末尾的自定义 Meta 块读取元数据 * 格式: [原始HBC][MAGIC_START][LENGTH][JSON_DATA][MAGIC_END]
scripts/read.js:27
↓ 1 callersFunctionreadMetadataFromHermesMeta
* 从 Hermes -meta 参数注入的数据读取(备用方案)
scripts/read.js:126
↓ 1 callersMethodreloadUpdate
(options: { hash: string })
src/NativePushy.ts:18
↓ 1 callersMethodresolveBundledResource
(String resourcePath)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:253
↓ 1 callersFunctionresolveCliRoot
()
Example/e2etest/scripts/prepare-local-update-artifacts.ts:42
↓ 1 callersFunctionresolveCliRoot
()
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:19
↓ 1 callersFunctionresolveNativeMarkSuccess
()
src/__tests__/client.test.ts:260
↓ 1 callersMethodresolveReactInstanceManager
( UpdateContext updateContext, Context application )
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:259
↓ 1 callersFunctionresolveVersion
()
scripts/prepublish.ts:73
↓ 1 callersMethodrestartAbility
()
harmony/pushy/src/main/ets/PushyTurboModule.ts:56
↓ 1 callersMethodrestartApp
( UpdateContext updateContext, ReactApplicationContext reactContext, @Nullable String
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:21
↓ 1 callersMethodrollBack
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:401
↓ 1 callersMethodrolledBackVersion
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:262
↓ 1 callersMethodrolledBackVersion
()
harmony/pushy/src/main/ets/UpdateContext.ts:336
↓ 1 callersFunctionrun
(command, args, options = {})
Example/e2etest/scripts/create-rn077-oldarch-project.js:19
↓ 1 callersFunctionrun
(args)
Example/e2etest/scripts/run-prepare-local-update-artifacts.js:10
↓ 1 callersMethodrun
()
android/src/main/java/cn/reactnative/modules/update/UiThreadRunner.java:10
↓ 1 callersFunctionrunPrepareScript
()
Example/e2etest/e2e/globalSetup.ts:66
↓ 1 callersFunctionrunPrepareScript
()
Example/testHotUpdate/e2e/globalSetup.js:27
↓ 1 callersFunctionrunPushy
(args: string[], cwd: string)
Example/e2etest/scripts/prepare-local-update-artifacts.ts:87
↓ 1 callersFunctionsafeResolve
(urlPath: string)
Example/e2etest/scripts/local-e2e-server.ts:54
↓ 1 callersFunctionsafeResolve
(urlPath)
Example/testHotUpdate/scripts/local-artifacts-server.js:19
↓ 1 callersFunctionsaveFileToSandbox
( from: resourceManager.RawFileDescriptor, toPath: string, )
harmony/pushy/src/main/ets/SaveFile.ts:6
↓ 1 callersFunctionselectFastestSuccessfulEndpoint
( endpoints: string[], tryEndpoint: (endpoint: string) => Promise<T>, now: () => number = Date.now, )
src/endpoint.ts:55
↓ 1 callersMethodsendEvent
(String eventName, WritableMap params)
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:25
↓ 1 callersMethodsetNeedUpdate
(options: { hash: string })
src/NativePushy.ts:20
↓ 1 callersMethodsetRNInstance
(instance: any)
harmony/pushy/src/main/ets/EventHub.ts:36
↓ 1 callersMethodsetUuid
(uuid: string)
src/NativePushy.ts:17
↓ 1 callersFunctionsetupHermescWrapper
()
scripts/bundle-metadata-plugin.js:115
↓ 1 callersFunctionsetupSingleHermesc
(hermescPath, locationName)
scripts/bundle-metadata-plugin.js:27
↓ 1 callersFunctionshouldSkipNativeBuild
()
scripts/prepublish.ts:111
↓ 1 callersFunctionsleep
(ms: number)
Example/e2etest/e2e/globalSetup.ts:159
↓ 1 callersFunctionstartServer
()
Example/e2etest/e2e/globalSetup.ts:108
↓ 1 callersFunctionstartServer
()
Example/testHotUpdate/e2e/globalSetup.js:46
↓ 1 callersFunctionstopServer
()
Example/e2etest/e2e/globalTeardown.ts:34
↓ 1 callersFunctionstopServer
()
Example/testHotUpdate/e2e/globalTeardown.js:8
↓ 1 callersFunctionsyncHarmonyNativeSources
()
scripts/build-harmony-har.js:187
↓ 1 callersMethodsyncStateWithBinaryVersion
( String packageVersion, String buildTime, StateCoreResult state )
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:44
↓ 1 callersMethodsyncStateWithBinaryVersion
( packageVersion: string, buildTime: string, )
harmony/pushy/src/main/ets/UpdateContext.ts:293
↓ 1 callersFunctiontoArrayBufferSlice
( payload: Uint8Array, offset: number, length: number, )
harmony/pushy/src/main/ets/DownloadTask.ts:54
↓ 1 callersMethodtoAssetUrl
(String bundleAssetName)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:134
↓ 1 callersFunctionusesFullFallback
(platform: string)
Example/e2etest/scripts/local-e2e-server.ts:32
↓ 1 callersFunctionusesFullFallbackArtifacts
(platform: string)
Example/e2etest/e2e/globalSetup.ts:96
↓ 1 callersFunctionwaitForCommandDone
(timeout)
Example/testHotUpdate/e2e/local-merge.test.js:49
↓ 1 callersFunctionwaitForServer
(timeoutMs = 30000)
Example/e2etest/e2e/globalSetup.ts:125
↓ 1 callersFunctionwaitForServer
(timeoutMs = 30000)
Example/testHotUpdate/e2e/globalSetup.js:63
↓ 1 callersFunctionwarmServer
(platform: 'ios' | 'android')
Example/e2etest/e2e/globalSetup.ts:189
↓ 1 callersFunctionwarn
(...args: any[])
src/utils.ts:12
↓ 1 callersFunctionwritePackageJson
()
Example/e2etest/scripts/create-rn077-oldarch-project.js:94
FunctionApp
()
Example/e2etest/src/index.tsx:19
FunctionApp
()
Example/testHotUpdate/src/index.tsx:57
FunctionApp
()
Example/harmony_use_pushy/App.tsx:11
MethodBundledResourceCopier
(Context context)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:49
FunctionCustomDialog
({title, visible, onConfirm})
Example/expoUsePushy/TestConsole.js:26
FunctionCustomDialog
({title, visible, onConfirm})
Example/harmony_use_pushy/TestConsole.js:26
MethodDownloadTask
(Context context, DownloadTaskParams params)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:57
FunctionHome
()
Example/expoUsePushy/App.tsx:12
FunctionHomeScreen
()
Example/expoUsePushy/App.tsx:215
MethodNativeUpdateCore
()
android/src/main/java/cn/reactnative/modules/update/NativeUpdateCore.java:6
MethodReactReloadManager
()
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:18
MethodResolvedResourceSource
(int resourceId, String assetPath)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:30
FunctionRoot
()
Example/e2etest/src/index.tsx:224
FunctionRoot
()
Example/testHotUpdate/src/index.tsx:263
FunctionRoot
()
Example/harmony_use_pushy/App.tsx:219
MethodSafeZipEntryIterator
(Enumeration<? extends ZipEntry> delegate)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:31
MethodSafeZipFile
(File file)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:16
MethodUiThreadRunner
()
android/src/main/java/cn/reactnative/modules/update/UiThreadRunner.java:13
MethodUpdateContext
(Context context)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:58
MethodUpdateEventEmitter
()
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:13
MethodUpdateFileUtils
()
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:12
MethodUpdateModule
(ReactApplicationContext reactContext, UpdateContext updateContext)
android/src/newarch/cn/reactnative/modules/update/UpdateModule.java:11
MethodUpdateModule
(ReactApplicationContext reactContext, UpdateContext updateContext)
android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java:13
MethodUpdateModuleImpl
()
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:15
MethodUpdateModuleSupport
()
android/src/main/java/cn/reactnative/modules/update/UpdateModuleSupport.java:14
FunctionUpdateProvider
({ client, children, }: { client: Pushy | Cresc; children: ReactNode; })
src/provider.tsx:32
MethodZipSource
(ZipEntry entry, SafeZipFile zipFile)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:43
MethodaddListener
(String eventName)
android/src/newarch/cn/reactnative/modules/update/UpdateModule.java:91
MethodaddListener
(String eventName)
android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java:93
MethodaddListener
(_eventName: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:275
Functionapply
()
harmony/hvigor-plugin.ts:7
Methodapply
(OkHttpClient.Builder builder)
Example/harmony_use_pushy/android/app/src/debug/java/com/harmony_use_pushy/ReactNativeFlipper.java:44
Functionasync
()
Example/expoUsePushy/TestConsole.js:192
Functionasync
()
Example/testHotUpdate/src/TestConsole.js:257
Functionasync
()
Example/harmony_use_pushy/TestConsole.js:192
FunctionasyncNoop
()
src/context.ts:7
FunctioncheckListener
(state: { status: string; resultKind: string; hash?: string; })
Example/e2etest/src/index.tsx:57
MethodclearFirstTime
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:287
MethodclearFirstTime
()
harmony/pushy/src/main/ets/UpdateContext.ts:351
MethodcloseWriter
()
harmony/pushy/src/main/ets/DownloadTask.ts:312
Methodconstructor
(options: ClientOptions, clientType?: 'Pushy' | 'Cresc')
src/client.ts:133
Methodconstructor
(options: ClientOptions)
src/client.ts:725
Methodconstructor
(context: common.UIAbilityContext)
harmony/pushy/src/main/ets/UpdateContext.ts:45
Methodconstructor
()
harmony/pushy/src/main/ets/EventHub.ts:8
Methodconstructor
( prefix: string = 'MyApp', domain: number = 0xff00, isDebug = false, )
harmony/pushy/src/main/ets/Logger.ts:9
Methodconstructor
(context: common.Context)
harmony/pushy/src/main/ets/DownloadTask.ts:75
← previousnext →301–400 of 494, ranked by callers