Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (17 loc) · 737 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 737 Bytes

expo-constants-sync-bug

Reproduce:

  1. I created a new expo app using npx create-expo-app
  2. Made some small changes to use custom native builds (https://docs.expo.dev/guides/adopting-prebuild/)
  3. Added expo.extra.foo = 'bar' in my app.json file
  4. In the example app, displayed that value by referencing Constants.expoConfig.extra.foo
  5. Run npx expo run:android
  6. It works, "bar" is deplayed.
  7. Change expo.extra.foo to 'baz'
  8. Run npx expo run:android
  9. It doesn't work, "bar" is still displayed
  10. Run npx expo prebuild
  11. Run npx expo run:android
  12. It still doesn't work, "bar" is still displayed
  13. Run npx expo prebuild --clean
  14. Run npx expo run:android
  15. The value has been update to "baz"