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 EA97F18459 for ; Wed, 16 Dec 2015 23:37:46 +0000 (UTC) Received: (qmail 39072 invoked by uid 500); 16 Dec 2015 23:37:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 39047 invoked by uid 500); 16 Dec 2015 23:37:46 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 39033 invoked by uid 99); 16 Dec 2015 23:37:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 23:37:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 985532C1F56 for ; Wed, 16 Dec 2015 23:37:46 +0000 (UTC) Date: Wed, 16 Dec 2015 23:37:46 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9564) Localstorage stops working if you change iOS device date to future date. 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-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9564: --------------------------------- Priority: Major (was: Critical) > Localstorage stops working if you change iOS device date to future date. > ------------------------------------------------------------------------ > > Key: CB-9564 > URL: https://issues.apache.org/jira/browse/CB-9564 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 3.9.0 > Reporter: Vinu > > Hello, > I am using Cordova iOS v3.9 > Issue: > Localstorage stops working if you change iOS device date to future date and then change it back to current date. > Only applies to iOS. > Steps to recreate: > 1. Change date on your iOS device to say 2 months ahead then start Phonegap app. > 2. Then close app and change date back to current date, then start app. > In config.xml > > What I found was Localstorage is restored from backup at this stage but I can't store changes to it unless I set date back to 2 months ahead. > When I restore date to current date, debug log shows "invalid callback Id received by sendPluginResult". > Conclusion: > If a user by accident changed a date to future date and then changed it back to current date, localstorage stops working. > Note: > If I set shouldRestore to return false in CDVLocalStorage.m file, line 484, it works as expected when date changed but obviously restore doesn't work. > Thank you, > V -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org