react-native-cookies
react-native-cookies copied to clipboard
Is it still maintained in 2019?
https://github.com/joeferraro/react-native-cookies#looking-for-maintainers seems the post still on README page, so not sure if it has been actively maintained or not
if not, is it still safe to use or is there any alternative library we can use?
@minmingsheng have you found an alternative library ?
If you're using the React Native WebView, you can track your own cookies in your code and set them in custom headers. I wrote up a guide about it recently.
https://github.com/react-native-community/react-native-webview/blob/82af9559ef17692e4d1f653e47154071cbd9ea33/docs/Guide.md#working-with-custom-headers-sessions-and-cookies
@jamonholmgren for my case, I'm not using webview, I need to get the cookies from request cuz of csrf token. The problem, this is the only library that provides such functionality in react native. I hope they continue to maintain it, or maybe someone takes over this task.
Added a proposal to move to react-native-community: https://github.com/joeferraro/react-native-cookies/issues/163
Show your support on both repos!
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.