Giter Club home page Giter Club logo

Comments (11)

jSkrills avatar jSkrills commented on April 28, 2024 1

@terribleben Ah I see, well perhaps you can still help me get unstuck because I am still seeing that exception. I would try to implement the suggestion here: facebook/react-native#8663 to basically add this "var RCTLog = require('RCTLog');" into the index.ios.js file.

My problem with that is in the newer versions of expo we don't have that anymore. And when I try to throw it into App.js I get an error telling me that it should be listed in the project's dependencies. However I don't think thats what needs done bc it's not something I can get from npm, I don't think.

Other related details: I just detached to expokit to try and implement some firebase dynamic link functionality. I am attempting to use the following versions of things:

Xcode Version 9.2 (9C40b)

"expo": "22.0.0",
"react": "16.0.0-alpha.12",
"react-native": "https://github.com/expo/react-native/archive/sdk-22.0.0.tar.gz",

(though I have tried 16.0.0-beta.5 per the docs also, with the same results)

I have been following the developing with expokit documentation to a T, in my mind, but as I mentioned above when I try to run the xworkspace file in xcode I see a screen saying There was a problem running the app with the RCTLog is not a registered callable module message at the bottom and filling up the output window in Xcode.

Don't hesitate to request any additional info from me anytime of day. Help, advice, hints, or direction of any kind would be much appreciated I am ready to be unstuck :)

from expo.

buhe avatar buhe commented on April 28, 2024

image

from expo.

brentvatne avatar brentvatne commented on April 28, 2024

cc @terribleben

from expo.

buhe avatar buhe commented on April 28, 2024

I skip this problem by use product build.

from expo.

tiensonqin avatar tiensonqin commented on April 28, 2024

Same problem.

from expo.

nikki93 avatar nikki93 commented on April 28, 2024

@buhe @tiensonqin still working on a fix for this, but temporarily if you run the JS in non-dev mode it should not have this issue.

from expo.

terribleben avatar terribleben commented on April 28, 2024

Hi! Sorry about this. It happens when your iOS client uses cached production JS while running as a developer, then tries to call RCTLog (which is only registered in dev mode). The best solution is to turn off caching, so your client always fetches dev exponent JS from your local packager.

To turn off caching:
- Type dev menu or dm in the iOS URL bar
- In the resulting menu, make sure the "Use kernel cache?" switch is off:

image

This preference uses NSUserDefaults and will persist between launches of the app.

from expo.

jSkrills avatar jSkrills commented on April 28, 2024

Hey @terribleben, where are we supposed to do the first step? Like in what tool?

from expo.

terribleben avatar terribleben commented on April 28, 2024

Hi, the answer above is pretty old, and not relevant any more. Our tools will automatically disable caching if you're loading a project in development.

from expo.

arrygoo avatar arrygoo commented on April 28, 2024

Hmm I'm getting this error after updating to expo 24 detached app :(
@jakenolan did you find a way to get around this?

from expo.

jSkrills avatar jSkrills commented on April 28, 2024

@arrygoo Sadly I don't remember the exact path out. But I can confirm that I don't have that line in my App.json file anywhere. I believe that the eventual resolution or at least onto the next error message was to upgrade my expo version, I believe that I went to 24 to advance. Are you also trying to work with react-native-firebase?

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.