Launcher3: APKs in releases/ all have the same versionCode

Created on 27 Jan 2018  Â·  9Comments  Â·  Source: amirzaidi/Launcher3

Your APKs in releases/ always have versionCode:1. Could you please take care to increase that with each newer version? Otherwise Android does not recognize them as updates, but rather considers them all being the same version.

Thanks in advance!

enhancement

Most helpful comment

But that makes it impossible to be notified on updates if one e.g. uses an F-Droid repo for that – one always had to check manually then. Some user asked me to make your app available via my repo (see here) – but with the versionCode always being the same 1) I cannot pull your updates automatically (they would be ignored), and 2) even if I'd take care for that manually, the user(s) would have no benefit from it as the F-Droid client won't ever notify them on updates.

So unless you're opposed to have your app available that way, can we find some compromise? I could e.g. think of a second .apk being attached (I can tell my auto-updater what to pick or what to ignore if there's a definite pattern in the filename). If you decide for that path, maybe it could also skip the ApplicationDebuggable flag :wink:

All 9 comments

I do this intentionally so people can go back to an older version without reinstalling

But that makes it impossible to be notified on updates if one e.g. uses an F-Droid repo for that – one always had to check manually then. Some user asked me to make your app available via my repo (see here) – but with the versionCode always being the same 1) I cannot pull your updates automatically (they would be ignored), and 2) even if I'd take care for that manually, the user(s) would have no benefit from it as the F-Droid client won't ever notify them on updates.

So unless you're opposed to have your app available that way, can we find some compromise? I could e.g. think of a second .apk being attached (I can tell my auto-updater what to pick or what to ignore if there's a definite pattern in the filename). If you decide for that path, maybe it could also skip the ApplicationDebuggable flag :wink:

@amirzaidi please reconsider your decision. Going back to a previous version may be a rarity whereas moving on to updated builds is much more common. Having automatic notifications via @IzzySoft's f-droid repo saves users having to check manually. Maybe have the app automatically backup its settings regularly or with each update, that way if a build is broken then uninstalling and reinstalling a previous version would give the user an option to import one of the dated backups.

I like the app. Please go on like this.

I'll consider finding a compromise later. The problem is that I jump between projects so often I doubt I'll provide any kind of regular updates for one. I do this for fun in the little free time I have. If someone wants to fork it and make it a full fletched launcher project (another Lawnchair for example) then go ahead, the code is free to use

@amirzaidi if there are no "regular updates", there's no need to "go back to an older version" either – wouldn't you agree? :wink:

And "rare updates" (I see them come in pairs here: two in Januare, then two in August before) make it rather hard for users to figure when it would be worth checking. A burden my repo wants to take from their shoulders.

Of course we understand this is "just a hobby" (and ask me about projects! I know exactly what you mean). So we don't expect daily updates. You set the speed for your projects, of course. Glad you consider finding a compromise, looking forward to that!

Any news on this, @amirzaidi ? I just updated manually to 3.5 today – while it was already available for a full month (didn't notice as I had to check manually). So users relying on my repo will have missed it as well.

F-Droid won't ever include my app because it uses the same package name as the real Pixel Launcher (which I will not change for compatibility and feature reasons). I often ask users to roll back to older versions for regression tests when they find a bug, and this would be a painful task if they had to reinstall every time, especially if the bug is related to a setup they have. So, I probably won't update the versionCode, sorry

There's always my repo for things like that. But well, I'll of course accept your "no". I'm not using your app myself, so I have no pressure. Others might see it in a different light (see above), so be welcome to approach me if you change your mind.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AxiK101 picture AxiK101  Â·  6Comments

bigdaddyral picture bigdaddyral  Â·  5Comments

vishnudevk picture vishnudevk  Â·  9Comments

ghost picture ghost  Â·  6Comments

saiakhil90 picture saiakhil90  Â·  6Comments