Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Cookies in WebView

Is there currently any way to set cookies on a webview in cascades? The docs dont seem to mention any way but I may have just missed it somewhere.

Like all of my posts
Please use plain text.
BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell
Please use plain text.
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Cookies in WebView

Those would be good if we had access to those objects that the WebView control was using. I know how to set cookies on requests I make myself, but not when the WebView is handling the requests.

Like all of my posts
Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Cookies in WebView

Unfortunately, I do not believe cookies are not supported in WebView controls at the moment. I will follow-up should things change.

 

Martin

 

Please use plain text.
Developer
Hithredin
Posts: 404
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

Re: Cookies in WebView

Can we have updates about this problem?

We really need cookies support for one of our apps

Please use plain text.
Developer
Hithredin
Posts: 404
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

Re: Cookies in WebView

Since beta 4, we should have cookies for WebView:

https://developer.blackberry.com/cascades/documentation/ui/webview/

 

But the webstorage is read only, and must be accessed from a webview instance. How could one simply add a cookie to a read only parameter?

Please use plain text.