Giter Site home page Giter Site logo

createExpoConfig does not about expo HOT 4 CLOSED

Cyberax avatar Cyberax commented on September 21, 2024
createExpoConfig does not

from expo.

Comments (4)

Kudo avatar Kudo commented on September 21, 2024

hi there! sorry for this hassle but after changing app.json you should better to run prebuild again or at least try clean build. it is the same when you run ./gradlew :app:assembleRelease, changing your App.tsx and re-run ./gradlew :app:assembleRelease will still have the old cached bundle without the updated js changes.

from expo.

Cyberax avatar Cyberax commented on September 21, 2024

Can you document this in the expo-constants docs perhaps? This took me a day to debug, and it's definitely not friendly to new users.

from expo.

Kudo avatar Kudo commented on September 21, 2024

it's not just expo-constants. changing scheme from your example, it will actually pull different value to AndroidManfiest.xml and create different intent-filters. that's why i recommended to re-run prebuild.

we are open for contributions. feel free to create a pr to revise the doc that makes sense to you. much appreciated!

from expo.

Cyberax avatar Cyberax commented on September 21, 2024

I think I'm missing something here. I'm using React.Native app, not an Expo app, so it's not using prebuild.

I'm trying to document the steps required, and as I see it, there's no way to signal that the config needs regeneration. Other than by blowing away the entire node_modules directory and repopulating it from scratch.

from expo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.