Phonegap. What happens to web SQL database on app update?

半腔热情 提交于 2019-11-30 09:25:11

问题


Please excuse the very novice question but I am about to embark on my first mobile app project using Phonegap. My project will rely heavily on a web SQL database. When I make updates to the app in the future, I need the database the user has built up to remain intact. I would assume the database is contained within the app package, When they update, what happens to the database? is it completely reset with the new app?

(I've spent quite sometime googling this but have not found an answer to my query)


回答1:


It will remain as it is (except the iOS 5.1 bug which is already resolved - https://issues.apache.org/jira/browse/CB-347)

You can also test and produce the same scenario by upgrading the application in your simulator or your device and see the result.

Check more detail in this post - https://groups.google.com/forum/?fromgroups#!topic/phonegap/NhPTwzi4KnU



来源:https://stackoverflow.com/questions/11278841/phonegap-what-happens-to-web-sql-database-on-app-update

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!