Bug in iOS 5.1. See https://issues.apache.org/jira/browse/CB-347 for workaround.
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to
www.phonegap.com
>________________________________
> From: Justin Harrison <Justin....@microsoft.com>
>To: "phon...@googlegroups.com" <phon...@googlegroups.com>
>Sent: Monday, April 2, 2012 10:57 AM
>Subject: RE: [PhoneGap] iOS Localstorage issue when app update is issued
Bug in iOS 5.1. See https://issues.apache.org/jira/browse/CB-347 for workaround.
From: phon...@googlegroups.com [mailto:phonegap@googlegroups.com] On Behalf Of brandon obrien
Sent: Saturday, March 31, 2012 8:22 AM
To: phon...@googlegroups.com
Subject: [PhoneGap] iOS Localstorage issue when app update is issued
I'm wondering if anyone else has experienced a similar issue to mine. I built and successfully launched an iOS app using PhoneGap 1.4.1. After a week or so I made some bug fixes and slight graphical changes and issued an update to the App Store. When the app got approved and people started downloading it, I had many people email me and tell me their localstorage was clearing out every time they closed the app.
In my case, I'm using localstorage to store a username and password that logs them into the app. When this data clears out each time it forces them to log in every time they open the app which is very frustrating.
I cannot seem to figure out what is causing this issue. If people delete and then re-install the app it fixes it and it works just fine, but if they do a standard update it seems to cause the issue.
If anyone else has experienced anything like this or has any suggestions, I would love to hear them.
I'm using PhoneGap 1.4.1 with jQuery Mobile
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
A) User installs your app while running < iOS 5.1, then updates to iOS 5.1, then updates your app
B) User who installs your app for the first time on iOS 5.1, then updates your app
And as you surmise the only workaround for the user (until you publish another update with the workaround) is to do a fresh install..
Justin
thanks
> phonegap+legro ups.com>
> For more options, visit this group
> athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go
> towww.phonegap.com<http://www.phonegap.com>
--
You received this message because you are subscribed to the Google Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
The fix is very easy to apply. Look at the attachments on that bug, one is the source code from Shaz. He included a readme with instructions on how to merge the code into your AppDelegate for both old PhoneGap 0.9.6, and newer versions.
Justin
From: phon...@googlegroups.com [mailto:phon...@googlegroups.com]
On Behalf Of brandon obrien
Sent: Monday, April 02, 2012 7:08 AM
To: phon...@googlegroups.com
Subject: Re: [PhoneGap] iOS Localstorage issue when app update is issued
Justin,
Thank you for posting this. This is the exact issue that my users are experiencing. Being pretty amateur at iOS development (which is why I went with PhoneGap in the first place) I'm not sure how to go about executing the fix proposed
in that thread. Is there a block of code I need to insert into my AppDelegate or MainController to get it to change the storage path in the plist file?
On Sunday, April 1, 2012 8:57:33 PM UTC-6, Justin wrote:
Bug in iOS 5.1. See https://issues.apache.org/jira/browse/CB-347 for workaround.
From:
phon...@googlegroups.com [mailto:phon...@googlegroups.com]
On Behalf Of brandon obrien
Sent: Saturday, March 31, 2012 8:22 AM
To: phon...@googlegroups.com
Subject: [PhoneGap] iOS Localstorage issue when app update is issued
I'm wondering if anyone else has experienced a similar issue to mine. I built and successfully launched an iOS app using PhoneGap 1.4.1. After a week or so I made some bug fixes and slight graphical changes and issued an update to the App Store. When the app got approved and people started downloading it, I had many people email me and tell me their localstorage was clearing out every time they closed the app.
In my case, I'm using localstorage to store a username and password that logs them into the app. When this data clears out each time it forces them to log in every time they open the app which is very frustrating.
I cannot seem to figure out what is causing this issue. If people delete and then re-install the app it fixes it and it works just fine, but if they do a standard update it seems to cause the issue.
If anyone else has experienced anything like this or has any suggestions, I would love to hear them.
I'm using PhoneGap 1.4.1 with jQuery Mobile
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to
phon...@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to
www.phonegap.com
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
-----Original Message-----
From: phon...@googlegroups.com [mailto:phon...@googlegroups.com] On Behalf Of Phil Mitchell
Sent: Monday, April 02, 2012 9:51 AM
To: phonegap
> phonegap+legro ups.com>
> For more options, visit this group
> athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go
> towww.phonegap.com<http://www.phonegap.com>
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to
> phon...@googlegroups.com<mailto:phon...@googlegroups.com>
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com<mailto:phonegap+unsubscribe@goog
> phonegap+legro ups.com>
> For more options, visit this group
> athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go
> towww.phonegap.com<http://www.phonegap.com>
--
You received this message because you are subscribed to the Google Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
> > > > > > > > phon...@googlegroups.com<mailto:phonegap@googlegroups.com>
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > phonegap+unsubscribe@googlegroups.com<mailto:phonegap+unsubscribe@goog
> > > > > > > > phonegap+legro ups.com>
> > > > > > > > For more options, visit this group
> > > > > > > > athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> > > > > > > > For more info on PhoneGap or to download the code go
> > > > > > > > towww.phonegap.com<http://www.phonegap.com>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the Google
> > > > > > > > Groups "phonegap" group.
> > > > > > > > To post to this group, send email to
> > > > > > > > phon...@googlegroups.com<mailto:phonegap@googlegroups.com>
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > phonegap+unsubscribe@googlegroups.com<mailto:phonegap+unsubscribe@goog
> > > > > > > > phonegap+legro ups.com>
> > > > > > > > For more options, visit this group
> > > > > > > > athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> > > > > > > > For more info on PhoneGap or to download the code go
> > > > > > > > towww.phonegap.com<http://www.phonegap.com>
>
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the Google Groups "phonegap" group.
> > > > > > > To post to this group, send email to phon...@googlegroups.com To unsubscribe from this group, send email to
> > > > > > > phonegap+unsubscribe@googlegroups.com
> > > > > > > For more options, visit this group athttp://groups.google.com/group/phonegap?hl=en?hl=en
>
> > > > > > > For more info on PhoneGap or to download the code go towww.phonegap.com
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > > > Groups "phonegap" group.
> > > > > > To post to this group, send email to phon...@googlegroups.com
> > > > > > To unsubscribe from this group, send email to
> > > > > > phonegap+unsubscribe@googlegroups.com
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/phonegap?hl=en?hl=en
>
> > > > > > For more info on PhoneGap or to download the code go towww.phonegap.com
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "phonegap" group.
> > > > To post to this group, send email to phon...@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > phonegap+unsubscribe@googlegroups.com
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com