[BuildInfo Plugin] Does not work on iOS

[BuildInfo Plugin] Does not work on iOS

  
Forge Component
(0)
Published on 2017-12-14 by Matthias Preuter
0 votes
Published on 2017-12-14 by Matthias Preuter

The plugin doesn't work on iOS.

The probem is the line $parameters.Build = BuildInfo.versionCode;

This leads to an exception: Cannot assign a JavaScript string with value 43 to an output parameter of type Integer Check the JavaScript node 'GetAppVersion' of the action 'GetBuildInfo'.

to solve this I changed the type of  Build parameter of the Javascript-action to Text and the Build output parameter of the GetBuildInfo  too. But you could convert it to an integer in the assign.