Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73CA110D24 for ; Tue, 2 Jul 2013 22:22:20 +0000 (UTC) Received: (qmail 61486 invoked by uid 500); 2 Jul 2013 22:22:20 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 61471 invoked by uid 500); 2 Jul 2013 22:22:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 61462 invoked by uid 99); 2 Jul 2013 22:22:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 22:22:20 +0000 Date: Tue, 2 Jul 2013 22:22:20 +0000 (UTC) From: "Adam George (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-456) Localstorage across program runs seems impossible in the Mac MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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