joeferraro / react-native-cookies

Cookie manager for React Native
MIT License
787 stars 314 forks source link

Package need react-native link after linking #85

Open kukko opened 6 years ago

kukko commented 6 years ago

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
rastogitech commented 6 years ago

Have you solved it?

ykhanbabaei commented 6 years ago

I have same problem

ozio commented 6 years ago

same

pierol commented 6 years ago

I have the sane problem

react-native-cli: 2.0.1
react-native: 0.50.3
exp 47.1.1
pierol commented 6 years ago

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.

harsh-lamba commented 6 years ago

I having same problem. Anybody found any solution for the same? @kukko , can you please add "help wanted" label to this issue?

harsh-lamba commented 6 years ago

Issue resolved by manually setting up react-native-cookies instead of automatic linking modules.

As mentioned in "Import libraries to android "rnpm link" #53 ".

safaiyeh commented 4 years ago

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.