dadads
dadads

Reputation: 201

Do PhoneGap apps reset themselves on app update?

I am developing a PhoneGap app for iOS, and future app updates are part of the plan. Sometimes, updates are not backwards-compatible and I am afraid that the app will still run on an outdated cache/session despite the update.

After the user updates their PhoneGap app:

Upvotes: 2

Views: 620

Answers (2)

Tobias Plaputta
Tobias Plaputta

Reputation: 126

Watch out! There is a serious bug: https://issues.apache.org/jira/browse/CB-347

Upvotes: 0

Drew Dahlman
Drew Dahlman

Reputation: 4972

your localStorage will stay put, everything else will go be replaced and the app will restart fresh.

Do some tests, if you make a build and compile upload to your phone then change some things recompile and upload you'll see that it has updated, but your localStorage is stil there.

hope that helps!

Upvotes: 1

Related Questions