EAS Repack regenerates EXConstants.bundle/app.config without running config plugins.
Any values added by config plugins (e.g. expo-router's origin) are missing at runtime.
Extracted from real builds (SDK 55, expo-router 55.0.7):
evidence/fresh-build-extra-router.json— from a fresh EAS build,extra.router.originis presentevidence/repacked-build-extra-router.json— from a repacked build of the same app,extra.routeris missing entirely
expo-router/head calls getHeadOriginFromConstants() which reads Constants.expoConfig.extra.router.origin.
When missing, it calls throwOrAlert() which in production mode shows a native alert() dialog, blocking all UI.
This breaks all automated e2e tests (Maestro, Detox, etc.) on repacked builds.