Home
last modified time | relevance | path

Searched refs:updateManifest (Results 1 – 25 of 41) sorted by relevance

12

/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/AppLoader/
H A DAppLoader.swift111 guard let updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest else { in startLoading() variable
120 if updateManifest.isDevelopmentMode { in startLoading()
123 try self.database.addUpdate(updateManifest) in startLoading()
124 try self.database.markUpdateFinished(updateManifest) in startLoading()
145 … existingUpdate = try self.database.update(withId: updateManifest.updateId, config: self.config) in startLoading()
155 let updateManifestScopeKey = updateManifest.scopeKey, in startLoading()
190 try self.database.addUpdate(updateManifest) in startLoading()
197 if let assets = updateManifest.assets(), in startLoading()
318 …eWithId: self.updateResponseContainingManifest!.manifestUpdateResponsePart!.updateManifest.updateId in finish()
341 …eWithId: self.updateResponseContainingManifest!.manifestUpdateResponsePart!.updateManifest.updateId in finish()
[all …]
H A DUpdateResponse.swift79 let updateManifest: Update variable
81 required init(updateManifest: Update) {
82 self.updateManifest = updateManifest
/expo/packages/expo-updates/ios/EXUpdates/AppLoader/
H A DAppLoader.swift111 guard let updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest else { in startLoading() variable
120 if updateManifest.isDevelopmentMode { in startLoading()
123 try self.database.addUpdate(updateManifest) in startLoading()
124 try self.database.markUpdateFinished(updateManifest) in startLoading()
145 … existingUpdate = try self.database.update(withId: updateManifest.updateId, config: self.config) in startLoading()
155 let updateManifestScopeKey = updateManifest.scopeKey, in startLoading()
190 try self.database.addUpdate(updateManifest) in startLoading()
197 if let assets = updateManifest.assets(), in startLoading()
318 …eWithId: self.updateResponseContainingManifest!.manifestUpdateResponsePart!.updateManifest.updateId in finish()
341 …eWithId: self.updateResponseContainingManifest!.manifestUpdateResponsePart!.updateManifest.updateId in finish()
[all …]
H A DUpdateResponse.swift84 public let updateManifest: Update variable
86 public required init(updateManifest: Update) {
87 self.updateManifest = updateManifest
H A DRemoteAppLoader.swift141 let updateBeingLaunched = updateResponse?.manifestUpdateResponsePart?.updateManifest
215 let update = updateResponse?.manifestUpdateResponsePart?.updateManifest
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/loader/
H A DLoader.kt111 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in onFailure() constant
113 …if (updateManifest !== null && onUpdateResponseLoadedResult.shouldDownloadManifestIfPresentInRespo… in onFailure()
116 processUpdateManifest(updateManifest) in onFailure()
176 private fun processUpdateManifest(updateManifest: UpdateManifest) { in processUpdateManifest()
177 if (updateManifest.isDevelopmentMode) { in processUpdateManifest()
180 val updateEntity = updateManifest.updateEntity in processUpdateManifest()
187 val newUpdateEntity = updateManifest.updateEntity in processUpdateManifest()
217 downloadAllAssets(updateManifest.assetEntityList) in processUpdateManifest()
H A DEmbeddedLoader.kt56 val updateManifest = loaderFiles.readEmbeddedManifest(this.context, this.configuration) in loadRemoteUpdate() constant
57 if (updateManifest != null) { in loadRemoteUpdate()
61 … manifestUpdateResponsePart = UpdateResponsePart.ManifestUpdateResponsePart(updateManifest), in loadRemoteUpdate()
H A DLoaderTask.kt106 fun onRemoteUpdateManifestResponseManifestLoaded(updateManifest: UpdateManifest) in <lambda>()
376 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
377 if (updateManifest == null) { in <lambda>()
384 updateManifest.updateEntity, in <lambda>()
390 callback.onRemoteUpdateManifestResponseManifestLoaded(updateManifest) in <lambda>()
391 …ack.onRemoteCheckForUpdateFinished(RemoteCheckResult.UpdateAvailable(updateManifest.manifest.getRa… in <lambda>()
H A DRemoteUpdate.kt42 data class ManifestUpdateResponsePart(val updateManifest: UpdateManifest) : UpdateResponsePart() constant in UpdateResponsePart.ManifestUpdateResponsePart
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/updates/
H A DUpdatesModule.kt161 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
165 if (updateManifest == null) { in <lambda>()
177 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
182 updateManifest.updateEntity, in <lambda>()
188 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
242 …val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest ?: return Loader.On… in <lambda>() constant
246 updateManifest.updateEntity, in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/updates/
H A DUpdatesModule.kt162 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
166 if (updateManifest == null) { in <lambda>()
178 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
183 updateManifest.updateEntity, in <lambda>()
189 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
243 …val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest ?: return Loader.On… in <lambda>() constant
247 updateManifest.updateEntity, in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/updates/
H A DUpdatesModule.kt169 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
184 if (updateManifest == null) { in <lambda>()
200 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
204 updateManifest.manifest.getRawJson() in <lambda>()
211 updateManifest.updateEntity, in <lambda>()
218 updateInfo.putString("manifestString", updateManifest.manifest.toString()) in <lambda>()
222 updateManifest.manifest.getRawJson() in <lambda>()
296 …val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest ?: return Loader.On… in <lambda>() constant
300 updateManifest.updateEntity, in <lambda>()
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/
H A DUpdatesModule.kt194 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
242 if (updateManifest == null) { in <lambda>()
255 …hCheckForUpdateAsyncResult(CheckForUpdateAsyncResult.UpdateAvailable(updateManifest), updatesServi… in <lambda>()
262 updateManifest.updateEntity, in <lambda>()
273 updateManifest.updateEntity?.let { updateEntity -> in <lambda>()
286 …hCheckForUpdateAsyncResult(CheckForUpdateAsyncResult.UpdateAvailable(updateManifest), updatesServi… in <lambda>()
317 …class UpdateAvailable(val updateManifest: UpdateManifest) : CheckForUpdateAsyncResult(Status.UPDAT… in <lambda>() constant in expo.modules.updates.CheckForUpdateAsyncResult.UpdateAvailable
339 … putString("manifestString", checkForUpdateAsyncResult.updateManifest.manifest.toString()) in <lambda>()
349 checkForUpdateAsyncResult.updateManifest.manifest.getRawJson() in <lambda>()
407 val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in <lambda>() constant
[all …]
H A DUpdatesDevLauncherController.kt107 …val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest ?: return Loader.On… in fetchUpdateWithConfiguration() constant
108 …houldDownloadManifestIfPresentInResponse = callback.onManifestLoaded(updateManifest.manifest.getRa… in fetchUpdateWithConfiguration()
H A DUpdatesController.kt297 override fun onRemoteUpdateManifestResponseManifestLoaded(updateManifest: UpdateManifest) { in start()
444 …val updateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest ?: return Loader.On… in initializeErrorRecovery() constant
445 …oadManifestIfPresentInResponse = selectionPolicy.shouldLoadNewUpdate(updateManifest.updateEntity, … in initializeErrorRecovery()
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/AppLoader/
H A DABI47_0_0EXUpdatesAppLoader.m87 - (void)startLoadingFromManifest:(ABI47_0_0EXUpdatesUpdate *)updateManifest
89 if (![self _shouldStartLoadingUpdate:updateManifest]) {
98 if (updateManifest.isDevelopmentMode) {
101 [self->_database addUpdate:updateManifest error:&updateError];
109 [self->_database markUpdateFinished:updateManifest error:&updateReadyError];
121 successBlock(updateManifest);
151 self->_successBlock(updateManifest);
160 self->_updateManifest = updateManifest;
166 self->_updateManifest = updateManifest;
262 - (BOOL)_shouldStartLoadingUpdate:(ABI47_0_0EXUpdatesUpdate *)updateManifest
[all …]
H A DABI47_0_0EXUpdatesAppLoader+Private.h16 @property (nonatomic, strong) ABI47_0_0EXUpdatesUpdate *updateManifest;
22 - (void)startLoadingFromManifest:(ABI47_0_0EXUpdatesUpdate *)updateManifest;
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/AppLoader/
H A DABI48_0_0EXUpdatesAppLoader.m87 - (void)startLoadingFromManifest:(ABI48_0_0EXUpdatesUpdate *)updateManifest
89 if (![self _shouldStartLoadingUpdate:updateManifest]) {
98 if (updateManifest.isDevelopmentMode) {
101 [self->_database addUpdate:updateManifest error:&updateError];
109 [self->_database markUpdateFinished:updateManifest error:&updateReadyError];
121 successBlock(updateManifest);
151 self->_successBlock(updateManifest);
160 self->_updateManifest = updateManifest;
166 self->_updateManifest = updateManifest;
262 - (BOOL)_shouldStartLoadingUpdate:(ABI48_0_0EXUpdatesUpdate *)updateManifest
[all …]
H A DABI48_0_0EXUpdatesAppLoader+Private.h16 @property (nonatomic, strong) ABI48_0_0EXUpdatesUpdate *updateManifest;
22 - (void)startLoadingFromManifest:(ABI48_0_0EXUpdatesUpdate *)updateManifest;
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DFileDownloaderManifestParsingTest.kt56 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_JSONBody()
131 …Assert.assertFalse(resultUpdateResponse!!.manifestUpdateResponsePart!!.updateManifest.manifest.isV… in testManifestParsing_MultipartBody()
238 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_MultipartBodyOnlyDirective_v0CompatibilityMode()
449 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_204ResponseNoProtocol()
500 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_JSONBodySigned()
593 …Assert.assertTrue(resultUpdateResponse!!.manifestUpdateResponsePart!!.updateManifest.manifest.isVe… in testManifestParsing_MultipartBodySigned()
640 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_JSONBodySigned_UnsignedRequest()
740 Assert.assertNotNull(resultUpdateResponse!!.manifestUpdateResponsePart?.updateManifest) in testManifestParsing_MultipartBodySignedCertificateParticularExperience()
741 …Assert.assertTrue(resultUpdateResponse!!.manifestUpdateResponsePart?.updateManifest!!.manifest.isV… in testManifestParsing_MultipartBodySignedCertificateParticularExperience()
823 resultUpdateManifest = updateResponse.manifestUpdateResponsePart?.updateManifest in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInManifest()
[all …]
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/
H A DUpdatesUtils.swift98 guard let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
156 guard let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
190 if let update = updateResponse?.manifestUpdateResponsePart?.updateManifest {
H A DDevLauncherController.swift99 guard let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
108 let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
/expo/packages/expo-updates/ios/EXUpdates/
H A DDevLauncherController.swift99 guard let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
108 let update = updateResponse.manifestUpdateResponsePart?.updateManifest else {
/expo/android/expoview/src/main/java/host/exp/exponent/
H A DExpoUpdatesAppLoader.kt253 override fun onRemoteUpdateManifestResponseManifestLoaded(updateManifest: UpdateManifest) { in startLoaderTask()
256 val sdkVersion = updateManifest.manifest.getExpoGoSDKVersion() in startLoaderTask()
262 setShouldShowAppLoaderStatus(updateManifest.manifest) in startLoaderTask()
263 callback.onOptimisticManifest(updateManifest.manifest) in startLoaderTask()
/expo/packages/expo-updates/ios/Tests/
H A DFileDownloaderManifestParsingSpec.swift45 …expect(resultUpdateResponse?.manifestUpdateResponsePart?.updateManifest.manifest.isVerified()) == … in spec()
83 …expect(resultUpdateResponse?.manifestUpdateResponsePart?.updateManifest.manifest.isVerified()) == … in spec()
360 …expect(resultUpdateResponse?.manifestUpdateResponsePart?.updateManifest.manifest.isVerified()) == … in spec()
405 …expect(resultUpdateResponse?.manifestUpdateResponsePart?.updateManifest.manifest.isVerified()) == … in spec()
487 …expect(resultUpdateResponse?.manifestUpdateResponsePart?.updateManifest.manifest.isVerified()) == … in spec()

12