prem created CB-13833:
-------------------------

             Summary: 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
 * Platform:iOS
 * Adapter: I have used both (IndexedDB/WebSQL/)
            Reporter: prem
            Assignee: Suraj Pindoria


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!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to