You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "prem (JIRA)" <ji...@apache.org> on 2018/01/25 20:56:00 UTC
[jira] [Updated] (CB-13833) data not persistent on Ios after first
install
[ https://issues.apache.org/jira/browse/CB-13833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
prem updated CB-13833:
----------------------
Environment:
h3. Info
* Environment: cordova iOS 4.5.4
* Adapter: I have used both (IndexedDB/WebSQL/)
* cordova -6.5.0
* pouchdb 6.4.1
was:
h3. Info
* Environment: cordova iOS 4.5.4
* Platform:iOS
* Adapter: I have used both (IndexedDB/WebSQL/)
Description:
Hello
iOS stored data is lost after installing app and then hard closing it. This only happen the first time the app is install
Reproduce
using PouchDB as the database , I can add item and get it back but if I quit the app (hard close), and launch it back, my data is gone. This ONLY happen on first install.
1: I install the app
2: Save some data on the device
3: Verify that the data is saved
4: Double click the home button to close the Ios cordova app
RESULT: re-open the app (Data is lost)
6: save some data again
7: Verify data is saved
8: double click home to close
9 re-open app
RESULT : data is save correctly
I don't see the same issue on Android,,
Same issue with local storage
Any ideas..
Thanks!
was:
Hello
iOS stored data is lost after installing app and then hard closing it. This only happen the first time the app is install
Reproduce
using PouchDB as the database , I can add item and get it back but if I quit the app (hard close), and launch it back, my data is gone. This ONLY happen on first install.
1: I install the app
2: Save some data
3: Verify that the data is saved
4: Double click the home button to close the Ios cordova app
RESULT: re-open the app (Data is lost)
6: save some data again
7: Verify data is saved
8: double click home to close
9 re-open app
RESULT : data is save correctly
I don't see the same issue on Android,,
Any ideas..
Thanks!
> data not persistent on Ios after first install
> ----------------------------------------------
>
> Key: CB-13833
> URL: https://issues.apache.org/jira/browse/CB-13833
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: cordova-ios 4.5.0
> Environment: h3. Info
> * Environment: cordova iOS 4.5.4
> * Adapter: I have used both (IndexedDB/WebSQL/)
> * cordova -6.5.0
> * pouchdb 6.4.1
> Reporter: prem
> Assignee: Suraj Pindoria
> Priority: Major
>
> Hello
> iOS stored data is lost after installing app and then hard closing it. This only happen the first time the app is install
>
> Reproduce
> using PouchDB as the database , I can add item and get it back but if I quit the app (hard close), and launch it back, my data is gone. This ONLY happen on first install.
> 1: I install the app
> 2: Save some data on the device
> 3: Verify that the data is saved
> 4: Double click the home button to close the Ios cordova app
> RESULT: re-open the app (Data is lost)
> 6: save some data again
> 7: Verify data is saved
> 8: double click home to close
> 9 re-open app
> RESULT : data is save correctly
> I don't see the same issue on Android,,
>
> Same issue with local storage
> Any ideas..
> Thanks!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org