| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/ |
| H A D | UpdatesUtilsInstrumentationTest.kt | 17 UpdatesUtils.parseDateString("2020-11-11T00:17:54.699Z") in testParseDateString_Z() 26 UpdatesUtils.parseDateString("2020-11-11T00:17:54.699+0000") in testParseDateString_writtenTimezone1() 35 UpdatesUtils.parseDateString("2020-11-11T00:17:54.699+0100") in testParseDateString_writtenTimezone2() 44 UpdatesUtils.parseDateString("2020-11-11T00:17:54.699+00:00") in testParseDateString_writtenTimezoneWithColon1() 53 UpdatesUtils.parseDateString("2020-11-11T00:17:54.699+01:00") in testParseDateString_writtenTimezoneWithColon2() 60 val emptyMap = UpdatesUtils.getMapFromJSONString("{}") in testgetHeadersMapFromJSONString_empty() 68 val emptyMap = UpdatesUtils.getMapFromJSONString("{\"expo-channel-name\":\"main\"}") in testgetHeadersMapFromJSONString_expectedFormat() 75 UpdatesUtils.getMapFromJSONString("{\"expo-channel-name\": 5}") in testgetHeadersMapFromJSONString_throwsIntegerValue() 81 UpdatesUtils.getMapFromJSONString("{\"expo-channel-name\":[\"main\"]}") in testgetHeadersMapFromJSONString_throwsNonStringValue() 87 UpdatesUtils.getMapFromJSONString("{7:[\"main\"]}") in testgetHeadersMapFromJSONString_throwsNonStringKey()
|
| /expo/packages/expo-updates/android/src/test/java/expo/modules/updates/ |
| H A D | UpdatesUtilsTest.kt | 14 Assert.assertEquals("key.png", UpdatesUtils.createFilenameForAsset(assetEntity)) in testCreateFilenameForAsset() 20 Assert.assertEquals("key.png", UpdatesUtils.createFilenameForAsset(assetEntity)) in testCreateFilenameForAssetWhenMissingDotPrefix() 26 Assert.assertEquals("key", UpdatesUtils.createFilenameForAsset(assetEntity)) in testCreateFilenameForAssetWhenMissingExtension() 35 UpdatesUtils.createFilenameForAsset(asset1), in testCreateFilenameForAsset_NullKey() 36 UpdatesUtils.createFilenameForAsset(asset2) in testCreateFilenameForAsset_NullKey() 38 val asset1Name = UpdatesUtils.createFilenameForAsset(asset1) in testCreateFilenameForAsset_NullKey() 47 Assert.assertEquals("38.0.0", UpdatesUtils.getRuntimeVersion(sdkOnlyConfig)) in testGetRuntimeVersion() 51 Assert.assertEquals("1.0", UpdatesUtils.getRuntimeVersion(runtimeOnlyConfig)) in testGetRuntimeVersion() 57 Assert.assertEquals("1.0", UpdatesUtils.getRuntimeVersion(bothConfig)) in testGetRuntimeVersion() 65 Assert.assertEquals("1", UpdatesUtils.getRuntimeVersion(neitherConfig)) in testGetRuntimeVersion_neitherDefined()
|
| /expo/packages/expo-updates/ios/EXUpdates/ |
| H A D | UpdatesModule.swift | 19 private let methodQueue = UpdatesUtils.methodQueue 66 "nativeDebug": UpdatesUtils.isNativeDebuggingEnabled() in definition() 92 UpdatesUtils.checkForUpdate { result in in definition() 197 UpdatesUtils.fetchUpdate { result in in definition() 216 promise.resolve(UpdatesUtils.defaultNativeStateMachineContextJson()) in definition() 219 UpdatesUtils.getNativeStateMachineContextJson { result in in definition()
|
| H A D | AppController.swift | 127 withRuntimeVersion: UpdatesUtils.getRuntimeVersion(withConfig: self.config) in appController() 171 withRuntimeVersion: UpdatesUtils.getRuntimeVersion(withConfig: config) in appController() 395 UpdatesUtils.runBlockOnMainThread { in appController() 499 updatesDirectory = try UpdatesUtils.initializeUpdatesDirectory() in appController() 522 UpdatesUtils.purgeUpdatesLogsOlderThanOneDay() in appController()
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/loader/ |
| H A D | LoaderFiles.kt | 6 import expo.modules.updates.UpdatesUtils in <lambda>() 48 ….use { inputStream -> return UpdatesUtils.verifySHA256AndWriteToFile(inputStream, destination, nul… in <lambda>() 68 ….use { inputStream -> return UpdatesUtils.verifySHA256AndWriteToFile(inputStream, destination, nul… in <lambda>()
|
| H A D | EmbeddedLoader.kt | 9 import expo.modules.updates.UpdatesUtils 78 val filename = UpdatesUtils.createFilenameForAsset(assetEntity) in loadAsset()
|
| H A D | RemoteUpdate.kt | 5 import expo.modules.updates.UpdatesUtils.parseDateString
|
| H A D | Loader.kt | 6 import expo.modules.updates.UpdatesUtils 258 val identifier = if (assetEntity.hash != null) "hash " + UpdatesUtils.bytesToHex( in downloadAllAssets() 304 hash = UpdatesUtils.sha256(File(updatesDirectory, asset.relativePath)) in handleAssetDownloadCompleted()
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/ |
| H A D | UpdatesModule.swift | 19 private let methodQueue = UpdatesUtils.methodQueue 66 "nativeDebug": UpdatesUtils.isNativeDebuggingEnabled() in definition() 92 UpdatesUtils.checkForUpdate { result in in definition() 186 UpdatesUtils.fetchUpdate { result in in definition()
|
| H A D | AppController.swift | 127 withRuntimeVersion: UpdatesUtils.getRuntimeVersion(withConfig: self.config) in appController() 387 UpdatesUtils.runBlockOnMainThread { in appController() 494 updatesDirectory = try UpdatesUtils.initializeUpdatesDirectory() in appController() 517 UpdatesUtils.purgeUpdatesLogsOlderThanOneDay() in appController()
|
| /expo/packages/expo-updates/ios/Tests/ |
| H A D | UpdatesConfigSpec.swift | 69 expect(UpdatesUtils.getRuntimeVersion(withConfig: sdkOnlyConfig)) == "38.0.0" in spec() 77 expect(UpdatesUtils.getRuntimeVersion(withConfig: runtimeOnlyConfig)) == "1.0" in spec() 86 expect(UpdatesUtils.getRuntimeVersion(withConfig: bothConfig)) == "1.0" in spec()
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/ReactDelegateHandler/ |
| H A D | ExpoUpdatesAppDelegateSubscriber.swift | 13 if ABI49_0_0EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() { in application()
|
| H A D | ExpoUpdatesReactDelegateHandler.swift | 20 if ABI49_0_0EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() {
|
| /expo/packages/expo-updates/ios/EXUpdates/ReactDelegateHandler/ |
| H A D | ExpoUpdatesAppDelegateSubscriber.swift | 13 if EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() { in application()
|
| H A D | ExpoUpdatesReactDelegateHandler.swift | 20 if EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() {
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/manifest/ |
| H A D | BareUpdateManifest.kt | 6 import expo.modules.updates.UpdatesUtils 89 val runtimeVersion = UpdatesUtils.getRuntimeVersion(configuration) in fromBareManifest()
|
| H A D | NewUpdateManifest.kt | 8 import expo.modules.updates.UpdatesUtils in <lambda>() 100 UpdatesUtils.parseDateString(manifest.getCreatedAt()) ?: Date() in <lambda>()
|
| H A D | LegacyUpdateManifest.kt | 6 import expo.modules.updates.UpdatesUtils 109 UpdatesUtils.parseDateString(commitTimeString) in fromLegacyManifest()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/selectionpolicy/ |
| H A D | SelectionPolicyFilterAwareTest.kt | 7 import expo.modules.updates.UpdatesUtils 151 …UpdateDirective.RollBackToEmbeddedUpdateDirective(UpdatesUtils.parseDateString("2022-01-12T19:39:2… in testShouldLoadRollBackToEmbeddedDirective_CommitTimeOfLaunchedUpdateBeforeRollBack() 164 …UpdateDirective.RollBackToEmbeddedUpdateDirective(UpdatesUtils.parseDateString("2020-01-12T19:39:2… in testShouldLoadRollBackToEmbeddedDirective_CommitTimeOfLaunchedUpdateAfterRollBack()
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/AppLauncher/ |
| H A D | AppLauncherNoDatabase.swift | 41 if let assetKey = asset.key, let localUrl = UpdatesUtils.url(forBundledAsset: asset) { in launchUpdate()
|
| /expo/packages/expo-updates/ios/EXUpdates/AppLauncher/ |
| H A D | AppLauncherNoDatabase.swift | 41 if let assetKey = asset.key, let localUrl = UpdatesUtils.url(forBundledAsset: asset) { in launchUpdate()
|
| /expo/packages/expo-updates/ios/EXUpdates/Update/ |
| H A D | BareUpdate.swift | 56 runtimeVersion: UpdatesUtils.getRuntimeVersion(withConfig: config),
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/Update/ |
| H A D | BareUpdate.swift | 56 runtimeVersion: UpdatesUtils.getRuntimeVersion(withConfig: config),
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/ |
| H A D | UpdatesConfiguration.kt | 88 UpdatesUtils.getMapFromJSONString(it) in <lambda>() 92 UpdatesUtils.getMapFromJSONString(it) in <lambda>()
|
| /expo/tools/src/versioning/android/ |
| H A D | android-packages-to-keep.txt | 27 expo.modules.updates.UpdatesUtils
|