Cool!

> we were going to manage to version codes ourselves.

Yes, the server generates the version number. It is stored in the APK Metadata db and is injected into the templatized Android build.