Skip to main content
Solved

Client version in FSM Mobile Cloud deliveries

  • Sep 19, 2023 6:38 AM UTC
  • 2 replies
  • 86 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

View original

2 replies

roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • Answer
  • Sep 20, 2023 12:27 PM UTC

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)
  • Sep 22, 2023 8:40 AM UTC

Hi @roklde,

Thank you very much for your response! :)

Cheers,

Buddhima