Skip to content

lugg/expo-repack-config-plugin-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EAS Repack strips config plugin additions from EXConstants.bundle/app.config

Bug

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.

Evidence

Extracted from real builds (SDK 55, expo-router 55.0.7):

  • evidence/fresh-build-extra-router.json — from a fresh EAS build, extra.router.origin is present
  • evidence/repacked-build-extra-router.json — from a repacked build of the same app, extra.router is missing entirely

Impact

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors