iAD plugin DOESNT WORK with Phonegap build - c2 ver 216

Bugs will be moved here once resolved.

Post » Fri Nov 13, 2015 6:36 pm

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_
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Nov 17, 2015 10:22 pm

@ashley this is important, without this people cant have ads on their iphone games exporting with phonegap.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Nov 24, 2015 3:36 pm

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?
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155

Post » Fri Nov 27, 2015 10:04 pm

it works! Thanks :) finally
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Wed Dec 16, 2015 6:24 pm

Cool. This workaround is applied automatically from the next build, which should fix it.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests