react-native-cookies
react-native-cookies copied to clipboard
Package need react-native link after linking
I already ejected my React-Native project with the command below:
yarn run eject
After that I installed and linked this package with the following commands:
yarn add react-native-cookies
react-native link react-native-cookies
And I added the following line to the beginning of my App.js file:
import CookieManager from 'react-native-cookies';
But when I start my app on my Android phone with Expo, it show this error:
react-native-cookies: Import libraries to android "react-native link react-native-cookies"
The linking process did everything in the Android project which was listed at the manual linking, so I don't know what is the problem. I browsing the Internet for hours for any solution but I couldn't. Can you help me out?
react-native -v
output:
react-native-cli: 2.0.1
react-native: 0.50.3
Have you solved it?
I have same problem
same
I have the sane problem
react-native-cli: 2.0.1
react-native: 0.50.3
exp 47.1.1
I think we are tryng to do something that it's not supposed to do. When you detached a CRNA created app must be compile, build and install to the hardware device or in emulator as a standalone app in Android Studio. Then you create the tunnel with expo and you continue to develop with hot reloading.
I having same problem. Anybody found any solution for the same? @kukko , can you please add "help wanted" label to this issue?
Issue resolved by manually setting up react-native-cookies instead of automatic linking modules.
As mentioned in "Import libraries to android "rnpm link" #53 ".
I have forked the repo here: https://github.com/safaiyeh/react-native-cookie-store We can create issues and PRs there to continue the development of the project.