iAD plugin DOESNT WORK with Phonegap build - c2 ver 216

  • Problem Description

    phonegab send and error when trying to build a .ipa file that have the iAD plugin (com.rjfun.cordova.plugin.iad)

    the error message is the following:

    Error - The following plugin, plugin version or a dependancy of this plugin is not on npm: com.rjfun.cordova.plugin.iad

    Steps to Reproduce Bug

    • Step 1: create a construct project with the plugin iAD in it.
    • Step 2: export with Cordova
    • Step 3: build with phonegap online builder

    Observed Result

    ____ all the exported files appear with an error message ____

    Expected Result

    i should be able to get the .ipa file but its appear as an error.

    Operating System and Service Pack

    ____ WINDOWS 8 ____

    Construct 2 Version ID

    Construct 2 Release r216_

  • Ashley this is important, without this people cant have ads on their iphone games exporting with phonegap.

  • By default PhoneGap Build is now set to get all plugins off npm, since official plugins moved there. I guess iAd has not been moved. If you edit the exported config.xml and replace:

    <gap:plugin name="com.rjfun.cordova.plugin.iad" source="npm" />

    with:

    <gap:plugin name="com.rjfun.cordova.plugin.iad" source="pgb" />

    Does that fix it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • it works! Thanks finally

  • Cool. This workaround is applied automatically from the next build, which should fix it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)