Hi,There might be a few reasons for that. Are you directly using the Oxide.WebView or do you use it through the Ubuntu.Web.UbuntuWebView component?If you are directly using the Oxide.WebView you might not have set the dataPath for the WebContext of the Oxide WebView. Unless things have changed, an empty dataPath means that the cookies/data resources are not persisted,See:The dataLocation variable is a context property set in the plugin itself here:Also although less likely since the above might put your in the right direction, you might want to play with the sessionCookieMode of the WebContext associated with your Oxide webview and set it to WebContext.SessionCookieModePersistent.E.g. (not tested)WebView {context: WebContext {sessionCookieMode: WebContext.SessionCookieModePersistent}}You might want to use the Ubuntu.Web.UbuntuWebView to ease up the whole process of fiddling with/setting up Oxide,Hope it helps,On Tue, Jul 15, 2014 at 4:24 PM, Roman Zonov <[email protected]> wrote:Hello, Robert. My zMusic app also uses (tries to migrate) Oxide and I have the same issue. Hope to fix it soon.15.07.2014, 22:50, "Robert Schroll" <[email protected]>:Hi all,
My app Beru [1] is a QML app, but does a lot of its work inside a
QtWebKit WebView. One of those things is to persist settings in a
cookie stored in the WebView [2]. With QtWebKit, this worked fine.
I'm trying to port it to the Oxide WebView, but this is no longer
working. Cookies persist for a given execution, but they are
apparently cleared when Beru is restarted. Is there a setting I need
to adjust to allow the cookies to persist? If not, is this something
that will be added?
Thanks,
Robert
[1] https://github.com/rschroll/beru
[2] https://github.com/rschroll/beru/blob/master/html/styling.js#L63
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp--Best regards,Roman Zonov.VK: http://vk.com/zonov_roman
Facebook: https://www.facebook.com/roman2861
Twitter: https://twitter.com/zonov_roman
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp
Facebook: https://www.facebook.com/roman2861
Twitter: https://twitter.com/zonov_roman
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

