Coder Social home page Coder Social logo

Comments (8)

quicksilverr avatar quicksilverr commented on August 25, 2024 1

After removing that import, it started working. Is the override related something to the web?

from react-native-ultimate-config.

quicksilverr avatar quicksilverr commented on August 25, 2024

There is no override file, which is being called in the index.js
If we check here, is there something I'm missing @maxkomarychev
https://github.com/maxkomarychev/react-native-ultimate-config/blob/master/packages/react-native-ultimate-config/index.js

from react-native-ultimate-config.

vision1214 avatar vision1214 commented on August 25, 2024

Any fix for this or we will have to patch this?

from react-native-ultimate-config.

vision1214 avatar vision1214 commented on August 25, 2024

After removing that import, it started working. Is the override related something to the web?

@quicksilverr After removing that import only, it starts working for web as well.

@maxkomarychev can you please help here.

from react-native-ultimate-config.

tilucast avatar tilucast commented on August 25, 2024

Yep, there is no such file. In older versions, this file does indeed exist.
Im updating from version 3.4.2, and the file is there, and looks like this

const RN = require("react-native");

const IOS_DATA = {}

const ANDROID_DATA = {}

module.exports = {
}

Im not sure what this file is supposed to do.

from react-native-ultimate-config.

vagnerlandio avatar vagnerlandio commented on August 25, 2024

@quicksilverr @tilucast the .override file is not generated after running the command "rnuc .env"?

from react-native-ultimate-config.

tilucast avatar tilucast commented on August 25, 2024

@vagnerlandio Youre right actually. I dont know what happened. The file now is being generated after running rnuc.

from react-native-ultimate-config.

vagnerlandio avatar vagnerlandio commented on August 25, 2024

@vagnerlandio Youre right actually. I dont know what happened. The file now is being generated after running rnuc.

Awesome.

@vision1214 override file is not compatible with web. For this case, you can create a file rnuc.rc in the project root directory with the following content.

module.exports = {
  js_override: false
};

from react-native-ultimate-config.

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.