Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
728 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 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...