Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
730 views
in Technique[技术] by (71.8m points)

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

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)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...