Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 911) sorted by relevance

12345678910>>...37

/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/SelectionPolicy/
H A DReaperSelectionPolicyFilterAware.swift27 for update in updates { in updatesToDelete()
29 let updateScopeKey = update.scopeKey else { in updatesToDelete()
38 if launchedUpdate.commitTime.compare(update.commitTime) == .orderedDescending { in updatesToDelete()
39 updatesToDelete.append(update) in updatesToDelete()
42 update.commitTime.compare(nextNewestUpdateInner.commitTime) == .orderedDescending { in updatesToDelete()
43 nextNewestUpdate = update in updatesToDelete()
45 nextNewestUpdate = update in updatesToDelete()
48 if SelectionPolicies.doesUpdate(update, matchFilters: filters) { in updatesToDelete()
50update.commitTime.compare(nextNewestUpdateMatchingFiltersInner.commitTime) == .orderedDescending { in updatesToDelete()
51 nextNewestUpdateMatchingFilters = update in updatesToDelete()
[all …]
H A DLauncherSelectionPolicyFilterAware.swift26 for update in updates { in launchableUpdate()
27 …if !runtimeVersions.contains(update.runtimeVersion) || !SelectionPolicies.doesUpdate(update, match… in launchableUpdate()
32 runnableUpdate = update in launchableUpdate()
36 if runnableUpdateInner.commitTime.compare(update.commitTime) == .orderedAscending { in launchableUpdate()
37 runnableUpdate = update in launchableUpdate()
/expo/packages/expo-updates/ios/EXUpdates/SelectionPolicy/
H A DReaperSelectionPolicyFilterAware.swift27 for update in updates { in updatesToDelete()
29 let updateScopeKey = update.scopeKey else { in updatesToDelete()
38 if launchedUpdate.commitTime.compare(update.commitTime) == .orderedDescending { in updatesToDelete()
39 updatesToDelete.append(update) in updatesToDelete()
42 update.commitTime.compare(nextNewestUpdateInner.commitTime) == .orderedDescending { in updatesToDelete()
43 nextNewestUpdate = update in updatesToDelete()
45 nextNewestUpdate = update in updatesToDelete()
48 if SelectionPolicies.doesUpdate(update, matchFilters: filters) { in updatesToDelete()
50update.commitTime.compare(nextNewestUpdateMatchingFiltersInner.commitTime) == .orderedDescending { in updatesToDelete()
51 nextNewestUpdateMatchingFilters = update in updatesToDelete()
[all …]
H A DLauncherSelectionPolicyFilterAware.swift26 for update in updates { in launchableUpdate()
27 …if !runtimeVersions.contains(update.runtimeVersion) || !SelectionPolicies.doesUpdate(update, match… in launchableUpdate()
32 runnableUpdate = update in launchableUpdate()
36 if runnableUpdateInner.commitTime.compare(update.commitTime) == .orderedAscending { in launchableUpdate()
37 runnableUpdate = update in launchableUpdate()
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/db/dao/
H A DUpdateDao.kt77 update.scopeKey = newScopeKey in insertUpdate()
85 update.commitTime = commitTime in _setUpdateScopeKeyInternal()
86 _setUpdateCommitTime(update.id, commitTime) in _setUpdateScopeKeyInternal()
101 _keepUpdate(update.id) in _setUpdateCommitTime()
104 fun markUpdateFinished(update: UpdateEntity) { in markUpdateFinished()
105 markUpdateFinished(update, false) in markUpdateFinished()
110 update.lastAccessed = newLastAccessed in markUpdateAccessed()
118 update.successfulLaunchCount++ in _markUpdateAccessed()
119 _incrementSuccessfulLaunchCount(update.id) in _markUpdateAccessed()
126 update.failedLaunchCount++ in _incrementSuccessfulLaunchCount()
[all …]
/expo/tools/src/android-update-native-dependencies/
H A DupdateChangelogFiles.ts15 .filter((update) => update.updates.length > 0)
16 .filter((update) => update.report.changelogPath)
21 (update) =>
23 `\`${update.fullName}:${update.oldVersion}\` ➡️ \`${update.newVersion}\``,
24 update.fullName
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/selectionpolicy/
H A DReaperSelectionPolicyFilterAware.kt31 for (update in updates) { in selectUpdatesToDelete() variable
33 if (update.scopeKey != launchedUpdate.scopeKey) { in selectUpdatesToDelete()
36 if (update.commitTime.before(launchedUpdate.commitTime)) { in selectUpdatesToDelete()
37 updatesToDelete.add(update) in selectUpdatesToDelete()
38 if (nextNewestUpdate == null || nextNewestUpdate.commitTime.before(update.commitTime)) { in selectUpdatesToDelete()
39 nextNewestUpdate = update in selectUpdatesToDelete()
41 if (SelectionPolicies.matchesFilters(update, filters) && in selectUpdatesToDelete()
42 …ateMatchingFilters == null || nextNewestUpdateMatchingFilters.commitTime.before(update.commitTime)) in selectUpdatesToDelete()
44 nextNewestUpdateMatchingFilters = update in selectUpdatesToDelete()
H A DLauncherSelectionPolicyFilterAware.kt20 for (update in updates) { in selectUpdateToLaunch() variable
21 …if (!runtimeVersions.contains(update.runtimeVersion) || !SelectionPolicies.matchesFilters(update, … in selectUpdateToLaunch()
24 if (updateToLaunch == null || updateToLaunch.commitTime.before(update.commitTime)) { in selectUpdateToLaunch()
25 updateToLaunch = update in selectUpdateToLaunch()
/expo/guides/releasing/
H A DUpdates QA.md32 …don't get the new update; use the module methods to check and fetch the new update, then call `rel…
36 … the build has the correct update embedded, then publish a new update to the `staging` channel, an…
42 - Publish a new update.
43 - Relaunch, see the embedded update (new update should be downloading in the background).
45 - Relaunch, see new update.
50 …ew update, restart the app, and make sure you get an "update downloaded" event; use `reloadAsync` …
52 …make a build pointing to a self hosted update and ensure it loads; publish an update and ensure yo…
61 - Publish an update, then restart the app a couple times to make sure you don't get the update auto…
67 - Publish an update to the `staging` release channel and make sure you get the update.
72 - Relaunch the app, see embedded update (new update should be downloading in background).
[all …]
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/SelectionPolicy/
H A DABI48_0_0EXUpdatesReaperSelectionPolicyFilterAware.m17 // keep the launched update and one other, the next newest, to be safe and make rollbacks faster
18 // keep the next newest update that matches all the manifest filters, unless no other updates do
22 for (ABI48_0_0EXUpdatesUpdate *update in updates) {
23 // ignore any updates whose scopeKey doesn't match that of the launched update
24 if (![launchedUpdate.scopeKey isEqualToString:update.scopeKey]) {
27 if ([launchedUpdate.commitTime compare:update.commitTime] == NSOrderedDescending) {
28 [updatesToDelete addObject:update];
29 …if (!nextNewestUpdate || [update.commitTime compare:nextNewestUpdate.commitTime] == NSOrderedDesce…
30 nextNewestUpdate = update;
32 if ([ABI48_0_0EXUpdatesSelectionPolicies doesUpdate:update matchFilters:filters] &&
[all …]
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/SelectionPolicy/
H A DABI47_0_0EXUpdatesReaperSelectionPolicyFilterAware.m17 // keep the launched update and one other, the next newest, to be safe and make rollbacks faster
18 // keep the next newest update that matches all the manifest filters, unless no other updates do
22 for (ABI47_0_0EXUpdatesUpdate *update in updates) {
23 // ignore any updates whose scopeKey doesn't match that of the launched update
24 if (![launchedUpdate.scopeKey isEqualToString:update.scopeKey]) {
27 if ([launchedUpdate.commitTime compare:update.commitTime] == NSOrderedDescending) {
28 [updatesToDelete addObject:update];
29 …if (!nextNewestUpdate || [update.commitTime compare:nextNewestUpdate.commitTime] == NSOrderedDesce…
30 nextNewestUpdate = update;
32 if ([ABI47_0_0EXUpdatesSelectionPolicies doesUpdate:update matchFilters:filters] &&
[all …]
/expo/ios/Exponent/Kernel/AppLoader/
H A DEXExpoGoLauncherSelectionPolicyFilterAware.swift23 for update in updates { in launchableUpdate()
24 guard let updateSDKVersion = update.manifest.expoGoSDKVersion() else { in launchableUpdate()
28 …if !sdkVersions.contains(updateSDKVersion) || !SelectionPolicies.doesUpdate(update, matchFilters: … in launchableUpdate()
33 runnableUpdate = update in launchableUpdate()
37 if runnableUpdateInner.commitTime.compare(update.commitTime) == .orderedAscending { in launchableUpdate()
38 runnableUpdate = update in launchableUpdate()
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/Database/
H A DUpdatesDatabase.swift101 update.updateId, in addUpdate()
103 update.commitTime, in addUpdate()
104 update.runtimeVersion, in addUpdate()
106 update.status.rawValue, in addUpdate()
107 update.lastAccessed, in addUpdate()
266 _ = try execute(sql: updateSql, withArgs: [update.status.rawValue, update.updateId]) in markUpdateFinished()
272 _ = try execute(sql: updateSql, withArgs: [update.lastAccessed, update.updateId]) in markUpdateAccessed()
284 _ = try execute(sql: updateSql, withArgs: [update.failedLaunchCount, update.updateId]) in incrementFailedLaunchCountForUpdate()
317 for update in updates { in deleteUpdates()
605 let update = Update( in update() variable
[all …]
/expo/packages/expo-updates/ios/EXUpdates/Database/
H A DUpdatesDatabase.swift101 update.updateId, in addUpdate()
103 update.commitTime, in addUpdate()
104 update.runtimeVersion, in addUpdate()
106 update.status.rawValue, in addUpdate()
107 update.lastAccessed, in addUpdate()
266 _ = try execute(sql: updateSql, withArgs: [update.status.rawValue, update.updateId]) in markUpdateFinished()
272 _ = try execute(sql: updateSql, withArgs: [update.lastAccessed, update.updateId]) in markUpdateAccessed()
284 _ = try execute(sql: updateSql, withArgs: [update.failedLaunchCount, update.updateId]) in incrementFailedLaunchCountForUpdate()
317 for update in updates { in deleteUpdates()
601 let update = Update( in update() variable
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Api/Components/Maps/
H A DABI49_0_0AIRMapCircle.m17 [self update];
22 [self update];
27 [self update];
32 [self update];
37 [self update];
42 [self update];
47 [self update];
52 [self update];
59 [self update];
66 [self update];
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/Maps/
H A DABI48_0_0AIRMapCircle.m17 [self update];
22 [self update];
27 [self update];
32 [self update];
37 [self update];
42 [self update];
47 [self update];
52 [self update];
59 [self update];
66 [self update];
[all …]
/expo/ios/Exponent/Versioned/Core/Api/Components/Maps/
H A DAIRMapCircle.m17 [self update];
22 [self update];
27 [self update];
32 [self update];
37 [self update];
42 [self update];
47 [self update];
52 [self update];
59 [self update];
66 [self update];
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/Maps/
H A DABI47_0_0AIRMapCircle.m17 [self update];
22 [self update];
27 [self update];
32 [self update];
37 [self update];
42 [self update];
47 [self update];
52 [self update];
59 [self update];
66 [self update];
[all …]
/expo/docs/pages/eas-update/
H A Deas-cli.mdx14 src="/static/images/eas-update/channel-branch-link.png"
61 View a specific update:
65 '$ eas update:view [update-group-id]',
70 cmdCopy="eas update:view [update-group-id]"
75 ### Create a new update and publish it
89 <Terminal cmd={['$ eas update --auto']} />
112 ### Republish a previous update within a branch
114update immediately available to all users. This command takes the previous update and publishes it…
120 '$ eas update:republish --group [update-group-id]',
121 '$ eas update:republish --branch [branch-name]',
[all …]
H A Dhow-it-works.mdx16 <ImageSpotlight alt="Native and update layers diagram" src="/static/images/eas-update/layers.png" />
39 ### Publishing an update
41update layer of our project by publishing an update. For example, we could change some text inside…
43update, we can run `eas update --auto`. This command will create a local update bundle inside the …
48 src="/static/images/eas-update/branch.png"
53update on a branch includes a target runtime version and target platform. With these fields, we ca…
64 src="/static/images/eas-update/default-link.png"
78 src="/static/images/eas-update/custom-link-1.png"
87 src="/static/images/eas-update/custom-link-2.png"
96 src="/static/images/eas-update/custom-link-3.png"
[all …]
/expo/packages/expo-updates/build/
H A DUpdates.types.js.map1update-related events.\n */\nexport enum UpdateEventType {\n /**\n * A new update has finished …
/expo/packages/expo-updates/ios/Tests/
H A DLegacyUpdateSpec.swift107 …expect(LegacyUpdate.update(withLegacyManifest: manifest, config: self.config, database: self.datab… in spec()
139 …let update = LegacyUpdate.update(withLegacyManifest: manifest, config: self.config, database: self… in spec() variable
140 expect(update.assets()).to(haveCount(4)) // 3 bundled + 1 launch in spec()
142 let launchAssets = update.assets()?.filter { asset in in spec()
151 let assetWithExtension = update.assets()?.first(where: { asset in in spec()
159 let assetWithExtension2 = update.assets()?.first(where: { asset in in spec()
167 let assetWithoutExtension = update.assets()?.first(where: { asset in in spec()
230 …let update = LegacyUpdate.update(withLegacyManifest: manifest, config: self.config, database: self… in spec() variable
231 expect(update.runtimeVersion) == sdkVersion in spec()
246 …let update = LegacyUpdate.update(withLegacyManifest: manifest, config: self.config, database: self… in spec() variable
[all …]
/expo/android/expoview/src/main/java/host/exp/exponent/
H A DExpoGoLauncherSelectionPolicyFilterAware.kt20 for (update in updates) { in selectUpdateToLaunch() variable
21 val manifest = Manifest.fromManifestJson(update.manifest) in selectUpdateToLaunch()
23 update, in selectUpdateToLaunch()
29 if (updateToLaunch == null || updateToLaunch.commitTime.before(update.commitTime)) { in selectUpdateToLaunch()
30 updateToLaunch = update in selectUpdateToLaunch()
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/Update/
H A DABI48_0_0EXUpdatesBareUpdate.m16 * expo-updates/scripts/createManifest.js and describe the update embedded by react-native in the
18 * the update and insert it into SQLite..
32 NSAssert(updateId != nil, @"update ID should not be null");
35 NSAssert(uuid, @"update ID should be a valid UUID");
69 update.updateId = uuid;
71 update.runtimeVersion = [ABI48_0_0EXUpdatesUtils getRuntimeVersionWithConfig:config];
72 update.status = ABI48_0_0EXUpdatesUpdateStatusEmbedded;
73 update.keep = YES;
74 update.assets = processedAssets;
76 if ([update.runtimeVersion containsString:@","]) {
[all …]
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/Update/
H A DABI47_0_0EXUpdatesBareUpdate.m16 * expo-updates/scripts/createManifest.js and describe the update embedded by react-native in the
18 * the update and insert it into SQLite..
32 NSAssert(updateId != nil, @"update ID should not be null");
35 NSAssert(uuid, @"update ID should be a valid UUID");
69 update.updateId = uuid;
71 update.runtimeVersion = [ABI47_0_0EXUpdatesUtils getRuntimeVersionWithConfig:config];
72 update.status = ABI47_0_0EXUpdatesUpdateStatusEmbedded;
73 update.keep = YES;
74 update.assets = processedAssets;
76 if ([update.runtimeVersion containsString:@","]) {
[all …]

12345678910>>...37