cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-456) Localstorage across program runs seems impossible in the Mac
Date Tue, 02 Jul 2013 22:22:20 GMT

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

Adam George commented on CB-456:
--------------------------------

I was able to get localStorage working in an OSX app. But I used MacGap (a fork of Phonegap)

I had to tinker around a bit:
http://stackoverflow.com/questions/10609644/localstorage-not-persisting-in-osx-app-xcode-4-3

I also had to use a private API `_setLocalStorageDatabasePath`, so don't know how that will
go down with the approval process. I'll find out after I submit I guess.


Would be good to see a proper fix for this in Cordova.
                
> Localstorage across program runs seems impossible in the Mac
> ------------------------------------------------------------
>
>                 Key: CB-456
>                 URL: https://issues.apache.org/jira/browse/CB-456
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: OSX
>            Reporter: Shazron Abdullah
>            Priority: Minor
>              Labels: audit
>
> Reported by: Ray Wang https://github.com/winterlightning
> The biggest problem I ran into developing in cocoa webkit is this: (I asked the first
question)
> http://stackoverflow.com/questions/8594822/how-do-you-set-localstorage-so-it-persist-across-program-runs
> http://stackoverflow.com/questions/8198453/local-storage-in-webview-is-not-persistent
> If someone has a proof of concept where localstorage actually works in cocoa webkit that
would be great

--
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