Is there a function (API) in the app logic to get the Distribute Version Number and Version Code of the generated mobile apps?
I want to refer to the information in the red box within the app.
Hello @Takefumi Wakayama,
You can access these information from table App_Mobile_Config which is existing into system module
Thank you so much.
I was able to find the App_Mobile_Config table that exists in the system module.
So I have one additional question: where should I get the App_Mobile_Config Identifier when I use GetApp_Mobile_Config to get the data?
This is the value of column Id of table.
Sorry for the My bad explanation.
I believe that in order to execute GetApp_Mobile_Config, the argument must be set to a value of type "App_Mobile_Config Identifier".
Do you know where I can get the value for this argument?
In this case you may need to have a site property to store Id of Mobile Config table which will be different from environment to another so you will need to configure effective value of site property for each environment.
You can also include table Application from system module and create aggregate to return version number and code joining between two tables App_Mobile_Config and Application on
App_Mobile_Config.Application_Key = Application.Key then add filter Application.Name = (your application name).
The second option will be more dynamic although you are using application name as static value.