add check for version number when checking for app updates

asked 2013-12-30 23:39:14 +0300

Whippler gravatar image

updated 2014-07-25 13:22:29 +0300

jiit gravatar image

It's annoying that i have a newer version of my app installed, and phone wants to "update" it to the version that is on store, so when ever i get a update done, its couple days of constant "theres an update available" notification, until the update gets published.

edit retag flag offensive close delete



The technical question behind is: how does the device checks what version it has and whether there is an update available? Does e.g. it look at the sailfish-version package or something else?

simosagi ( 2013-12-31 00:32:46 +0300 )edit

IMHO this is a developer-only issue as regular users won't have newer software installed than is offered by the store. That aside, a difference in the first part of the rpm package version string and the version string known by the store is regarded as an app update.

pycage ( 2014-01-06 13:58:51 +0300 )edit

This makes downgrades (if needed) via the store possible.

pycage ( 2014-01-06 13:59:17 +0300 )edit

It is not developer only issue as same application can be available from multiple stores. Downgrade typically is not possible and will fail if application has any differencies in data schemas of locally stored data between two software versions. It is impossible that older version could handle data migration from newer schema which didn't even exist when the older version was created. Depending on application damage can be significant.

Penguin ( 2014-02-17 20:23:12 +0300 )edit

Good point on the data migration issue. Check out the next OS update when its out to see if it has been fixed.

pycage ( 2014-02-17 20:30:23 +0300 )edit