Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ihor-sviziev/c4d3e087b8555acc0710553692ce6511 to your computer and use it in GitHub Desktop.

Select an option

Save ihor-sviziev/c4d3e087b8555acc0710553692ce6511 to your computer and use it in GitHub Desktop.
Minimal repro: setUpdateRequestHeadersOverride throws InvalidRequestHeadersOverrideException when requestHeaders not in app.config
// app.config.ts
// Minimal reproduction: no requestHeaders declared under updates
export default {
expo: {
name: 'repro',
slug: 'repro',
version: '1.0.0',
runtimeVersion: { policy: 'appVersion' },
updates: {
url: 'https://u.expo.dev/<your-project-id>',
// requestHeaders intentionally absent — this causes the bug
},
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment