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
↓ 1 callers
Function
processHBCFile
(hbcFilePath)
scripts/hermesc-wrapper.js:45
↓ 1 callers
Function
reactNativeUpdatePlugin
()
harmony/hvigor-plugin.ts:4
↓ 1 callers
Function
readBundleMetadata
* 从 Hermes 字节码文件中读取 metadata * 支持两种方式: * 1. 从文件末尾的自定义 Meta 块读取(新方式,推荐) * 2. 从 Hermes -meta 参数注入的数据读取(旧方式,备用)
scripts/read.js:9
↓ 1 callers
Method
readBytes
(InputStream input)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:131
↓ 1 callers
Method
readFileContent
(filePath: string)
harmony/pushy/src/main/ets/DownloadTask.ts:141
↓ 1 callers
Function
readMetadataFromHBCFooter
* 从 HBC 文件末尾的自定义 Meta 块读取元数据 * 格式: [原始HBC][MAGIC_START][LENGTH][JSON_DATA][MAGIC_END]
scripts/read.js:27
↓ 1 callers
Function
readMetadataFromHermesMeta
* 从 Hermes -meta 参数注入的数据读取(备用方案)
scripts/read.js:126
↓ 1 callers
Method
reloadUpdate
(options: { hash: string })
src/NativePushy.ts:18
↓ 1 callers
Method
resolveBundledResource
(String resourcePath)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:253
↓ 1 callers
Function
resolveCliRoot
()
Example/e2etest/scripts/prepare-local-update-artifacts.ts:42
↓ 1 callers
Function
resolveCliRoot
()
Example/testHotUpdate/scripts/prepare-local-update-artifacts.js:19
↓ 1 callers
Function
resolveNativeMarkSuccess
()
src/__tests__/client.test.ts:260
↓ 1 callers
Method
resolveReactInstanceManager
( UpdateContext updateContext, Context application )
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:259
↓ 1 callers
Function
resolveVersion
()
scripts/prepublish.ts:73
↓ 1 callers
Method
restartAbility
()
harmony/pushy/src/main/ets/PushyTurboModule.ts:56
↓ 1 callers
Method
restartApp
( UpdateContext updateContext, ReactApplicationContext reactContext, @Nullable String
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:21
↓ 1 callers
Method
rollBack
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:401
↓ 1 callers
Method
rolledBackVersion
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:262
↓ 1 callers
Method
rolledBackVersion
()
harmony/pushy/src/main/ets/UpdateContext.ts:336
↓ 1 callers
Function
run
(command, args, options = {})
Example/e2etest/scripts/create-rn077-oldarch-project.js:19
↓ 1 callers
Function
run
(args)
Example/e2etest/scripts/run-prepare-local-update-artifacts.js:10
↓ 1 callers
Method
run
()
android/src/main/java/cn/reactnative/modules/update/UiThreadRunner.java:10
↓ 1 callers
Function
runPrepareScript
()
Example/e2etest/e2e/globalSetup.ts:66
↓ 1 callers
Function
runPrepareScript
()
Example/testHotUpdate/e2e/globalSetup.js:27
↓ 1 callers
Function
runPushy
(args: string[], cwd: string)
Example/e2etest/scripts/prepare-local-update-artifacts.ts:87
↓ 1 callers
Function
safeResolve
(urlPath: string)
Example/e2etest/scripts/local-e2e-server.ts:54
↓ 1 callers
Function
safeResolve
(urlPath)
Example/testHotUpdate/scripts/local-artifacts-server.js:19
↓ 1 callers
Function
saveFileToSandbox
( from: resourceManager.RawFileDescriptor, toPath: string, )
harmony/pushy/src/main/ets/SaveFile.ts:6
↓ 1 callers
Function
selectFastestSuccessfulEndpoint
( endpoints: string[], tryEndpoint: (endpoint: string) => Promise<T>, now: () => number = Date.now, )
src/endpoint.ts:55
↓ 1 callers
Method
sendEvent
(String eventName, WritableMap params)
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:25
↓ 1 callers
Method
setNeedUpdate
(options: { hash: string })
src/NativePushy.ts:20
↓ 1 callers
Method
setRNInstance
(instance: any)
harmony/pushy/src/main/ets/EventHub.ts:36
↓ 1 callers
Method
setUuid
(uuid: string)
src/NativePushy.ts:17
↓ 1 callers
Function
setupHermescWrapper
()
scripts/bundle-metadata-plugin.js:115
↓ 1 callers
Function
setupSingleHermesc
(hermescPath, locationName)
scripts/bundle-metadata-plugin.js:27
↓ 1 callers
Function
shouldSkipNativeBuild
()
scripts/prepublish.ts:111
↓ 1 callers
Function
sleep
(ms: number)
Example/e2etest/e2e/globalSetup.ts:159
↓ 1 callers
Function
startServer
()
Example/e2etest/e2e/globalSetup.ts:108
↓ 1 callers
Function
startServer
()
Example/testHotUpdate/e2e/globalSetup.js:46
↓ 1 callers
Function
stopServer
()
Example/e2etest/e2e/globalTeardown.ts:34
↓ 1 callers
Function
stopServer
()
Example/testHotUpdate/e2e/globalTeardown.js:8
↓ 1 callers
Function
syncHarmonyNativeSources
()
scripts/build-harmony-har.js:187
↓ 1 callers
Method
syncStateWithBinaryVersion
( String packageVersion, String buildTime, StateCoreResult state )
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:44
↓ 1 callers
Method
syncStateWithBinaryVersion
( packageVersion: string, buildTime: string, )
harmony/pushy/src/main/ets/UpdateContext.ts:293
↓ 1 callers
Function
toArrayBufferSlice
( payload: Uint8Array, offset: number, length: number, )
harmony/pushy/src/main/ets/DownloadTask.ts:54
↓ 1 callers
Method
toAssetUrl
(String bundleAssetName)
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:134
↓ 1 callers
Function
usesFullFallback
(platform: string)
Example/e2etest/scripts/local-e2e-server.ts:32
↓ 1 callers
Function
usesFullFallbackArtifacts
(platform: string)
Example/e2etest/e2e/globalSetup.ts:96
↓ 1 callers
Function
waitForCommandDone
(timeout)
Example/testHotUpdate/e2e/local-merge.test.js:49
↓ 1 callers
Function
waitForServer
(timeoutMs = 30000)
Example/e2etest/e2e/globalSetup.ts:125
↓ 1 callers
Function
waitForServer
(timeoutMs = 30000)
Example/testHotUpdate/e2e/globalSetup.js:63
↓ 1 callers
Function
warmServer
(platform: 'ios' | 'android')
Example/e2etest/e2e/globalSetup.ts:189
↓ 1 callers
Function
warn
(...args: any[])
src/utils.ts:12
↓ 1 callers
Function
writePackageJson
()
Example/e2etest/scripts/create-rn077-oldarch-project.js:94
Function
App
()
Example/e2etest/src/index.tsx:19
Function
App
()
Example/testHotUpdate/src/index.tsx:57
Function
App
()
Example/harmony_use_pushy/App.tsx:11
Method
BundledResourceCopier
(Context context)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:49
Function
CustomDialog
({title, visible, onConfirm})
Example/expoUsePushy/TestConsole.js:26
Function
CustomDialog
({title, visible, onConfirm})
Example/harmony_use_pushy/TestConsole.js:26
Method
DownloadTask
(Context context, DownloadTaskParams params)
android/src/main/java/cn/reactnative/modules/update/DownloadTask.java:57
Function
Home
()
Example/expoUsePushy/App.tsx:12
Function
HomeScreen
()
Example/expoUsePushy/App.tsx:215
Method
NativeUpdateCore
()
android/src/main/java/cn/reactnative/modules/update/NativeUpdateCore.java:6
Method
ReactReloadManager
()
android/src/main/java/cn/reactnative/modules/update/ReactReloadManager.java:18
Method
ResolvedResourceSource
(int resourceId, String assetPath)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:30
Function
Root
()
Example/e2etest/src/index.tsx:224
Function
Root
()
Example/testHotUpdate/src/index.tsx:263
Function
Root
()
Example/harmony_use_pushy/App.tsx:219
Method
SafeZipEntryIterator
(Enumeration<? extends ZipEntry> delegate)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:31
Method
SafeZipFile
(File file)
android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java:16
Method
UiThreadRunner
()
android/src/main/java/cn/reactnative/modules/update/UiThreadRunner.java:13
Method
UpdateContext
(Context context)
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:58
Method
UpdateEventEmitter
()
android/src/main/java/cn/reactnative/modules/update/UpdateEventEmitter.java:13
Method
UpdateFileUtils
()
android/src/main/java/cn/reactnative/modules/update/UpdateFileUtils.java:12
Method
UpdateModule
(ReactApplicationContext reactContext, UpdateContext updateContext)
android/src/newarch/cn/reactnative/modules/update/UpdateModule.java:11
Method
UpdateModule
(ReactApplicationContext reactContext, UpdateContext updateContext)
android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java:13
Method
UpdateModuleImpl
()
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java:15
Method
UpdateModuleSupport
()
android/src/main/java/cn/reactnative/modules/update/UpdateModuleSupport.java:14
Function
UpdateProvider
({ client, children, }: { client: Pushy | Cresc; children: ReactNode; })
src/provider.tsx:32
Method
ZipSource
(ZipEntry entry, SafeZipFile zipFile)
android/src/main/java/cn/reactnative/modules/update/BundledResourceCopier.java:43
Method
addListener
(String eventName)
android/src/newarch/cn/reactnative/modules/update/UpdateModule.java:91
Method
addListener
(String eventName)
android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java:93
Method
addListener
(_eventName: string)
harmony/pushy/src/main/ets/PushyTurboModule.ts:275
Function
apply
()
harmony/hvigor-plugin.ts:7
Method
apply
(OkHttpClient.Builder builder)
Example/harmony_use_pushy/android/app/src/debug/java/com/harmony_use_pushy/ReactNativeFlipper.java:44
Function
async
()
Example/expoUsePushy/TestConsole.js:192
Function
async
()
Example/testHotUpdate/src/TestConsole.js:257
Function
async
()
Example/harmony_use_pushy/TestConsole.js:192
Function
asyncNoop
()
src/context.ts:7
Function
checkListener
(state: { status: string; resultKind: string; hash?: string; })
Example/e2etest/src/index.tsx:57
Method
clearFirstTime
()
android/src/main/java/cn/reactnative/modules/update/UpdateContext.java:287
Method
clearFirstTime
()
harmony/pushy/src/main/ets/UpdateContext.ts:351
Method
closeWriter
()
harmony/pushy/src/main/ets/DownloadTask.ts:312
Method
constructor
(options: ClientOptions, clientType?: 'Pushy' | 'Cresc')
src/client.ts:133
Method
constructor
(options: ClientOptions)
src/client.ts:725
Method
constructor
(context: common.UIAbilityContext)
harmony/pushy/src/main/ets/UpdateContext.ts:45
Method
constructor
()
harmony/pushy/src/main/ets/EventHub.ts:8
Method
constructor
( prefix: string = 'MyApp', domain: number = 0xff00, isDebug = false, )
harmony/pushy/src/main/ets/Logger.ts:9
Method
constructor
(context: common.Context)
harmony/pushy/src/main/ets/DownloadTask.ts:75
← previous
next →
301–400 of 494, ranked by callers