Skip to content

Commit 525d757

Browse files
committed
mobile: exclude config extra from fingerprint so OTAs match across commits
app.config injects the git hash into extra.gitHash, which @expo/fingerprint hashed into the runtimeVersion, giving every commit a unique fingerprint that no OTA could match. Skip ExpoConfigExtraSection (nothing under extra affects the native binary) so the fingerprint is stable across commits.
1 parent 63af1e1 commit 525d757

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

app/mobile/fingerprint.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// @expo/fingerprint hashes the resolved Expo config, including `extra`. Our
2+
// app.config.js injects the git commit hash into `extra.gitHash`, so without
3+
// this skip every commit produced a unique runtimeVersion and an OTA update
4+
// could never match an already-installed build. Nothing under `extra` (router,
5+
// eas, gitHash) affects the native binary, so excluding it keeps the fingerprint
6+
// stable across commits while still rebuilding when real native inputs change.
7+
// The default package.json script skip is preserved.
8+
module.exports = {
9+
sourceSkips: [
10+
"PackageJsonAndroidAndIosScriptsIfNotContainRun",
11+
"ExpoConfigExtraSection",
12+
],
13+
};

0 commit comments

Comments
 (0)