diff --git a/src/updates/api.ts b/src/updates/api.ts index fd731e3..51fbb61 100644 --- a/src/updates/api.ts +++ b/src/updates/api.ts @@ -22,8 +22,9 @@ export async function listUpdates(): Promise { if (demo) { return mockUpdates; } - // The feed is served with a one-hour max-age, so the URL cache would hide an entry a push just announced. - const response = await fetch(`${changelog}.json`, { cache: 'no-cache' }); + // The feed is served with a one-hour max-age, which iOS and Android honour, so the copy they keep would hide an + // entry a push just announced. Expo's fetch ignores `cache`, so a URL of its own is what skips that copy. + const response = await fetch(`${changelog}.json?_=${Date.now()}`); if (!response.ok) { throw new Error('Couldn’t load the changelog.'); }