[Prompt for Rating Plugin] Error generating iOS app with version 1.0

[Prompt for Rating Plugin] Error generating iOS app with version 1.0

  
Forge Component
(10)
Published on 2017-01-06 by Nuno Lopes
10 votes
Published on 2017-01-06 by Nuno Lopes

Hi, 


I was enthusiastic to use your app rating plugin in my mobile app, that has both an Android and an iOS version. After referencing the publication actions and block of your plugin, I get the following error with iOS app generation (using OutSystems platform version 10.0.710.0)
:
Error generating HuisjeHuisje (iOS): Error compiling Cordova plugin: HuisjeHuisje/Plugins/cordova-plugin-apprate/CDVAppRate.m.


The Android app generation and app version was fine. 

Looking at the Github, current version is v1.3.0. At the time you released your plugin, v1.2.0 was the current one. Might it have something to do with this or do you have any other suggestions? 


Kind regards.

Hello Jordy.

After searching the issues of the plugin, it seems that it's not working well with the latest versions of Cordova (example here). To workaround, you can use the previous version of the plugin. Open the module, edit the Extensibility Configurations and change the URL of the plugin to the previous version (v1.2.0):

{
    "plugin" :{
        "url": "https://github.com/pushandplay/cordova-plugin-apprate.git#v1.2.0"
    }
}

Note that plugins should always have a tag/release.

Let me know if it works.

Thanks

Solution

Hi César,

This was indeed the solution! Thanks. 


Kind regards

Solution