Skip to main content
Solved

Client version in FSM Mobile Cloud deliveries

  • September 19, 2023
  • 2 replies
  • 67 views

buddhima
Sidekick (Employee)
Forum|alt.badge.img+6

Hi experts,

 

This is regarding FSM Mobile Cloud deliveries.

I have done a customization in mobile and this needs to be deployed in cloud. I need to know if it is mandatory to upgrade the version from the code before building the apk?

 

Eg. Does the this need to be updated to 6.22.8363?

 

Also, once a new apk is deployed to cloud, does the installer automatically upgrade the version as in the screenshot above or is it fetched from the code?

 

Cheers,

Buddhima.

Best answer by roklde

Hi Buddhima,

by looking at the “Default.aspx.cs” in the directory
\mxserv\Application Server\ServerCloudInstallContent\MetrixMobileService you can find the following code:

System.Reflection.Assembly assembly = System.Reflection.Assembly.Load("MetrixMobileService");
this.VersionNumber.Text = "Version: " + assembly.GetName().Version.ToString();

Thus, the build is fetched from the MetrixMobileService.dll, which is located in the \bin folder.

I’m not sure about best practice for maintaining the version number when applying customization but maybe someone from our Development colleagues can reply to this. :)

 

Best regards
Roman

2 replies

roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • Answer
  • September 20, 2023

Hi Buddhima,

by looking at the “Default.aspx.cs” in the directory
\mxserv\Application Server\ServerCloudInstallContent\MetrixMobileService you can find the following code:

System.Reflection.Assembly assembly = System.Reflection.Assembly.Load("MetrixMobileService");
this.VersionNumber.Text = "Version: " + assembly.GetName().Version.ToString();

Thus, the build is fetched from the MetrixMobileService.dll, which is located in the \bin folder.

I’m not sure about best practice for maintaining the version number when applying customization but maybe someone from our Development colleagues can reply to this. :)

 

Best regards
Roman


buddhima
Sidekick (Employee)
Forum|alt.badge.img+6
  • Author
  • Sidekick (Employee)
  • September 22, 2023

Hi @roklde,

Thank you very much for your response! :)

Cheers,

Buddhima