124
Views
1
Comments
[BuildInfo Plugin] Does not work on iOS
Question
buildinfo-plugin
Mobile icon
Forge asset by TimeSeries - Smart Apps

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. 

2019-10-27 01-32-56
Caio Santana Magalhães
 
MVP

Gert-Jan Vernooij wrote:

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. 


Hello,


I noticed the latest version already includes your fix.



Just as a heads up for anyone that might try this plugin now.


Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.