On 01 December, 2015 - Dirk Hohndel wrote:

> On Tue, Dec 01, 2015 at 11:25:48AM -0600, Adric Norris wrote:
> > Quick question. Android (via Settings / apps) reports the mobile app
> > version as 1.0, but it's listed as 4.5.2.320 on the daily downloads page.
> > Is this intentional (maybe because it's not in the appstore yet)? It seems
> > to me like they should be in sync (at least as far as the 4.5.2 portion),
> > to facilitate version tagging in the bugtracker. I could easily be missing
> > something, however.
> 
> They should be in sync. I'll look into that.
> 

The 1.0 comes from the AndroidManifest.xml.

The problem is that this file gets mangled by androiddeployqt so the
problem is to figure out how we can hook us in and inject our versions
there.

Android has actually two versions on a package. android:versionCode
which is a 16-bit int and android:versionName which is the string shown
to the user.

I'd suggest we use the number of commits in this branch as versionCode
and git describe as versionName.


//Anton


-- 
Anton Lundin    +46702-161604
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to