FinestWebView-Android icon indicating copy to clipboard operation
FinestWebView-Android copied to clipboard

Cookie persistense

Open skram opened this issue 9 years ago • 8 comments

Thought I'd give this library a try, but for what I need it for, making requests via http POST/GET and opening a Browser with same cookies does not work. There should be a way to alter the cookie manager

skram avatar Jan 09 '16 11:01 skram

@skram Thanks for reporting an issue. But..I can't really understand your meaning. Can you give me more detailed explanations?

TheFinestArtist avatar Jan 26 '16 16:01 TheFinestArtist

@TheFinestArtist For instance, I login to a site and or Add something to a Shopping Cart via HTTP POST. Then Open an instance of FinestWebView it should show that Im logged in, and or have something in my shopping cart. Get it? So any Cookies and or Caches from HTTP requests done outside of FinestWebView should reflect in it.

skram avatar Jan 26 '16 16:01 skram

@skram Ah ha! Got it!

TheFinestArtist avatar Jan 28 '16 21:01 TheFinestArtist

@skram Sorry mate, it has been too long to include this one! I am working on it right now!

TheFinestArtist avatar Mar 11 '16 01:03 TheFinestArtist

Would love to see this!

broakenmedia avatar Jun 08 '16 11:06 broakenmedia

Just checking to see if there has been any progress? I really love to have this!

andrewjlow avatar Jun 21 '17 05:06 andrewjlow

Did you manage this? I need a way to send POST data from the app to the webview...Normal webviews have this functionality..

bmbariah avatar Aug 04 '17 17:08 bmbariah

Hello! I haven't tried it yet, but it seems to reasonable to set cookies via normal HttpRequest, and set it in CookieManager. As I see the library is based on Android WebView from android.webkit, so, imho it should work - in "normal" web view to set cookies you just set it in cookie manager, and then sync. As it uses android.webkit imho cookies will be set.

Cililing avatar Dec 13 '18 10:12 Cililing