[SOLVED] Can’t get reward after complete view video ads with SDKBoxAds

Hi:

Our game uses SDKBox Vungle Plugin to display rewarded video ads. It’s published and works fine.

I’d like to integrate AdColony and Charboost now. I tried SDKBoxAds with only an AdUnit (Vungle), but after complete video reward (by pressing the circular button with a cross), onRewardAction is never called.

I’ve setup my project based on the sample

Environment:

  • win10
  • cocos2djs 3.6.1
  • sdkbox 2.1.1
  • js

Could you help me with this?

Best and thanks!

Hey @patriciog

If your project is similar to the sample in sdkbox_config.json then it should work fine.
Could you please check that the parameter for Vungle is set as under everywhere, where vungle is present -

“incentivized”: true

If this value is set to false in any means, then the videos wont return any rewards.

Best,
Pabitra

Hi @patriciog ,

I have checked on the sample, and the JS binding is not notifying to javascript. Lua and Cpp work as expected.
The problem seems to be in the js binding, not the AdUnits or SdkboxAds side, so no plugin will be notifying activity for JS. I am currently patching this wrong behavior.

Sorry for the inconvenience, will keep you posted of the fix.

Thanks for reporting.

  • i
1 Like

Thanks for checking and fixing it, @Ibon!

Hi @Ibon!

It is working with the fixed PluginSdkboxAds.jar

Thank you very much for your attention, @Ibon!

1 Like