New C2 Cocoon Ads Plugin

@arcadesind
did you try it? is webview+ fixed yet??

I’m not trying it yet, but I believe that there’s still an error, so I’ll just waiting until next year.

another update for Cocoon cloud SDK, but not committed yet
image

Hi,
@Blue_Sialia just accepted my pull request for a minor bug fix in the plugin.
The problem of the build crashes is not the construct 2 plugin.
More the “Native Admob Ads for Android” plugin has some problems. It doesn’t find some dependencies.

I’m in contact with Blue_Sialia. Once I got any news, I’ll let you know!
Till that is fixed, you can use the older version by adding the “spec” tag, see below:

<plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/>

Best
Andy

1 Like

@andy_reitberger
I tried changing the spec the game is compiled now.
But its showing black screen.

I removed the cocoon ad plugin from my construct 2 project.
Then it compiled well and game is running fine.

It is showing black screen when i add cocoon ad plugin back in my construct 2 project.
weird thing is game is running in the background as i can hear the music of the game.

I checked in dev app.
Errors
Javascript Exception ( File: ‘cordova.js’ Tag: ‘script’):Error: cordova already defined.

Do you have any idea on this?

Thanks

What version of the CocoonAds plugin have you installed?
I guess when it’s the latest one (for GDPR), the game crashes because it needs the latest version of the cordova-ads plugin.

I’m in contact with ludei about that matter. Hopefully the cordova plugin will be fixed soon. I’ll keep you posted.

Till now, you can try to install also the older Construct2 plugin for CocoonAds.
You can download an older version here

@andy_reitberger
Yes it worked! Thanks Andy

If we submit games using old cocoon ads plugin for cocoon and construct 2.
It would be an issue regarding GDPR?

Any idea when can we expect the update of the plugins.

Thanks

Glad to hear that!
Well you can handle the GDPR on your own till the plugin is working.
Just ask for consent that the player agrees with your terms and your privacy policy.
It’s not 100%, but better than nothing I guess :wink:

I added a dialog showing on start. The player can either acceppt and play or close the game.

Best,
Andy

@andy_reitberger

Cool!
Thanks for the help

1 Like

no more update since this one
image

hello I wanted to know how the cocoon plugin works on cordova cli? I still have the old cocoon plugin

any tutorial to how make admob work between stages correctly . i use construct 2 but when i use the plugin . first it give me a javascript error in preview . then in mobile the ads start show every time . not just between levels . and thank you for your efforts. and also with the old plugin the compile work fine in cocoon ? we must add admob plugin for android in cocoon ?

Hi,
the js error in the browser preview is normal. You can avoid this by adding “On platform [Cordvoa]” before you using any Cocoon functions.

You can find templates here


I’m working on a new guide, however this needs the cloud compiler working first. I’ll keep you posted.

Thanks!

ok thank you brother i appreciate that :slight_smile: also i have a question. this plugin and standard construct 2 plugin are free completely or they take some % from ads ?

@Blue_Sialia no more update since last month?

If anyone following this forum topic knows how to use cocoon-plugin-ads-android-admob for interstitial ads for a phaser 3 game, I would gladly pay you to help me. Anyone need extra money for Christmas gifts?

any new update guys still facing errors

Sadly to say, there isn’t any update from Cocoon since last one
image

this is beginning to be really sad that they have not updated a single dam thing nor have notified on any proper fixes. Been over 3months now since the update

I have unsuccessfully tried to monetize my app with AdMob for the last few weeks. I am beginning to feel that it is time to abandon Cocoon. Does anyone have experience with React Native?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.