Skip to content

[PB-6219]: use fingerprint policy for runtimeVersion to prevent update check failures#411

Closed
terrerox wants to merge 1 commit intorelease-v1.9.1from
fix/check-updates
Closed

[PB-6219]: use fingerprint policy for runtimeVersion to prevent update check failures#411
terrerox wants to merge 1 commit intorelease-v1.9.1from
fix/check-updates

Conversation

@terrerox
Copy link
Copy Markdown

@terrerox terrerox commented Apr 12, 2026

Previously, runtimeVersion was set to the package.json version (e.g. "1.8.6"). This meant every version bump changed the runtimeVersion, causing users on older binaries to fail when calling checkForUpdateAsync — the Expo update server had no OTA update for their outdated runtimeVersion, rejecting the request with "Failed to check for update".

Switching to the fingerprint policy generates a hash based on native dependencies, so runtimeVersion only changes when native code changes — not on JS-only version bumps. This allows OTA updates to reach all compatible binaries regardless of package version.

Also added a logger.warn before the Sentry report for better diagnostics.

See: https://docs.expo.dev/eas-update/runtime-versions/#fingerprint-runtime-version-policy

…k failures

Users on older app binaries experienced checkForUpdateAsync rejections because runtimeVersion was tied to package.json version, causing mismatches when no OTA update existed for their runtime version
@terrerox terrerox self-assigned this Apr 12, 2026
@sonarqubecloud
Copy link
Copy Markdown

@terrerox terrerox requested a review from CandelR April 13, 2026 03:04
Copy link
Copy Markdown
Contributor

@CandelR CandelR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is okay 🆗 . But need to create a branch with the number of release in order to merge all task to that branch. E.g: release-v1.9.1

@terrerox terrerox changed the base branch from master to release-v1.9.1 April 16, 2026 04:10
@terrerox terrerox requested a review from CandelR April 16, 2026 04:10
@CandelR CandelR deleted the branch release-v1.9.1 April 16, 2026 10:00
@CandelR CandelR closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants