Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't get it working with my project #2

Closed
strazi opened this issue Apr 12, 2015 · 1 comment
Closed

Couldn't get it working with my project #2

strazi opened this issue Apr 12, 2015 · 1 comment

Comments

@strazi
Copy link

strazi commented Apr 12, 2015

Here are some things I had to do:

  1. Under Search Paths, I added: $(SRCROOT)/../react-native/React and recursive to get it to build.
  2. I added RCT_EXPORT_MODULE(); to AIBHTMLWebViewManager.m because the error message in the simulator said it was missing.

After that it looks like it's working great, I'm just wondering if your config or mine is somehow different.

@almost
Copy link
Owner

almost commented Apr 12, 2015

Thanks for this! Looks like RCT_EXPORT_MODULE is new in React Native 0.3.8 released 3 days ago. All part of the fun of being on the bleeding edge ;) I've published a fixed version to npm just now.

I think the Search Paths change may be to do with how you have React Native installed. With React Native installed via NPM (so living in node_modules) it should just work.

@almost almost closed this as completed Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants