Closed m-ochyra closed 5 months ago
I will review and provide a new version on weekends, thanks for your contribution!
Hello! Any news here?
@fryette Hello! I was wondering if you could review this diff for the new version.
This PR is now almost a year old. I think I just encountered this problem (cant set a cookie on android). So I guess the project is dead?
You can use my code. Just put this into pubspec.yaml:
webview_cookie_manager:
git:
url: https://github.com/m-ochyra/webview_cookie_manager.git
ref: feature/add-flush-for-android
@m-ochyra thanks for the snippet. Was looking for that! 👍
Sometimes exists problem with keeping session of logged in user. On API 21+ we need to call
flush()
method after set cookies on Android.This PR is fix for issue #57
Some resources: https://github.com/react-native-cookies/cookies/issues/58 https://innodroid.com/blog/post/webview-cookies-headers-and-user-agent