-
Notifications
You must be signed in to change notification settings - Fork 49
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
Cannot read property 'setCookie' of undefined #12
Comments
|
my build fails after doing "react-native link react-native-cookie", had to unlink to build successfully. Any insight? |
@kevin074 Please share the error log from console so that I can help you to figure out the solution. |
I am getting a similar error. Below are the error log
The following build commands failed: |
In our iOS project we are using different schemes. Linking the react-native-cookie project did only link the library for the main scheme so I had to add it to the orthers manually: In Xcode, click on your project, select your target -> Build Phases-> link Binary With Libraries and add libRNCookieManager.a That did the trick for us. |
I get this Unhandled JS Exception: Cannot read property 'setCookie' of undefined after upgrading to
"react-native": "0.51.0",
"react-native-cookie": "^0.2.0",
The text was updated successfully, but these errors were encountered: