cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-3012) window.localStorage doesn´t persist
Date Wed, 10 Apr 2013 19:43:15 GMT

    [ https://issues.apache.org/jira/browse/CB-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628165#comment-13628165
] 

Frederico Costa Galvão commented on CB-3012:
--------------------------------------------

Got it now, thanks a lot. Too bad this couldn't make it to 2.6.

There are some things in 2.6 I really need atm, so I'd like to ask if the following code at
the end of my onCreate() smells or if I can trust it in the meanwhile until 2.7. It works
on a SII(4.0.3), Galaxy Nexus(4.2.2) and LG-US670(2.2) with no side effects so far.

{code}
		super.loadUrl(Config.getStartUrl(), 10000);

		WebSettings settings = this.appView.getSettings();
		String databasePath = this.getApplicationContext().getDir("database", Context.MODE_PRIVATE).getPath();
		settings.setDatabaseEnabled(true);
		settings.setDatabasePath(databasePath);
{code}
                
>  window.localStorage doesn´t persist
> ------------------------------------
>
>                 Key: CB-3012
>                 URL: https://issues.apache.org/jira/browse/CB-3012
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.6.0
>         Environment: Android version 4.2.2 on nexus 4
>            Reporter: Pablo Sola
>            Assignee: Joe Bowser
>
> i upgraded my project from 2.5.0 to 2.6.0, and localstorge stopped working.
> i have downgrade to 2.5.0 and works fine again

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message