[ 
https://issues.apache.org/jira/browse/CB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424609#comment-13424609
 ] 

Samuel Michelot commented on CB-994:
------------------------------------

Ok, I have found the problem. I have created a sample project like you did, and 
indeed, I didn't got any problem. Then, I remembered that my app use the 
"Application does not run in background" setting:
http://www.evernote.com/shard/s6/sh/44f66a37-d2ae-4bda-b114-88a10e3b486e/becb3b9f6075fd98dda29363110f8b9d

And indeed, when I add this pref, it's not working anymore. I imagine that you 
do the backup when the app goes in background. It was working with the 
CDVLocalStoragePlugin. Do you have a suggestion? (my app doesn't work well when 
it stay in the background)

Thanks in advance Shazron!
                
> WebSQL backup only save Databases.db but not the content of the DB 
> (0000000001.db)
> ----------------------------------------------------------------------------------
>
>                 Key: CB-994
>                 URL: https://issues.apache.org/jira/browse/CB-994
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.1
>         Environment: iOS 5, iOS6, Xcode4.5-DP2 and older
>            Reporter: Samuel Michelot
>            Assignee: Shazron Abdullah
>            Priority: Critical
>         Attachments: websql_test.png
>
>
> Cordova 1.8.1 (and maybe 1.9) doesn't backup the file 00000000001.db 
> containing the WebSQL data, see this screenshot :
> http://cl.ly/2U2t1C0n0I1D0y3s2C3p
> The backup only contains the Databases.db
> So the SQLite data can be lost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to