B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

how to get version no?

Dear All,

How to get version no of the app? ..I need to add such info into my About dialog..

could anybody please advise?

thanks a lot in advance

Regards

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

how to get version no?

Hello!

Could you explain your issue more clear?

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

how to get version no?

I have About page that showa the version info of the apps.. how do I get it?.. as far as I know the version no changed everytime we rebuilt .. cmiiw... thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

how to get version no?

Hi B510,

Unfortunatly you can not use information from "android binary" app settings tab.

So you need to implement this logic your self.

I can suggest you two ways:

1 Create new JS asset and fill it with following code:

pre

self.appInfo = {
version: "123.123",
build: "345.345"
};

/pre

Then you can access to this info with following code:

pre

//Get version.
var version = self.appInfo.version;

//Get build.
var build = self.appInfo.build;

/pre

2 Create some collection in your DB. With collumns "fieldName" and "fieldValue" and request this collection when you need info(for example when your dialog page will be displayed).

Regards.

Return to “Issues”