SDKBOX 2.3.12 Release Admob Reward video

I know why not show ads.
I have to add third party mediations…

on Android, try to add 3rd mediation.

I Got you, man .

How to setup sdkbox for newest created coocs project? I get an error!


:weary:

Thank you!

Sorry to be a bother, but I just noticed 2 more things:

  1. The callbacks for the 2 functions aren’t used:
        virtual void onAskGiftResult(bool result, const std::string& msg) {}
        virtual void onSendGiftResult(bool result, const std::string& msg) {}

When I try to use them in the JS bindings (so that I can know when the user is finished with the action), I get an error message in the android console:

E/art: No implementation found for void com.sdkbox.plugin.PluginFacebook.onAskGiftResult(boolean, java.lang.String) (tried Java_com_sdkbox_plugin_PluginFacebook_onAskGiftResult and Java_com_sdkbox_plugin_PluginFacebook_onAskGiftResult__ZLjava_lang_String_2)
  1. I don’t actually know if this is something from you or from the Facebook SDK, but when I get the popup for confirming the request, the object is always called a product whereas in the web version of my game it is called respectively a Life and a Key (which is the name of the open graph object):

Open up your project folder in the console, and type sdkbox import name_of_the_plugin
For example, if you want to import admob, you should type sdkbox import admob

1 Like
  1. I’ll check it again

  2. I have no idea, but need more deep.

Thank you!

From what I’ve read there isn’t much that can be done for 2) as it is most likely from the Facebook SDK and I hope that users won’t pay so much attention to it.

@nite
I integrated Admob Reward video for an ios game and its working …but how do i know whether the player has watched the full video or not?? coz it doesn’t give any messages if the video is closed in between…

“adViewWillDismissScreen” is the only listener been called either its closed in between or closed after watching the full video… “reward” listener is not called…

Can you help me with this??

Thank you.

1.Check whether you are using the proper reward Id.
2.Check whether you have implemented
reward: function(name, currency, amount) {
self.totalAmount = self.totalAmount + amount;
self.showText(‘reward=’+name+’ ‘+currency+’ '+amount);
self.showText(‘totalAmount=’+self.totalAmount);
}
in your listener

On android rewarded video not work “adViewDidFailToReceiveAdWithError name=rewarded msg=ERROR_CODE_NO_FILL”

“ERROR_CODE_NO_FILL” this error means there is not enough ads in your region at the moment, maybe turn on testing ads or try it later.

hi sushant,

Thank u for replying.

I’m using the same id that is in sample project. I’m getting the reward video.But when i close the video I’m not getting any logs that i have given in reward function …which means the reward function is not been called.

Can someone help me??
All other functions in the listener are been called except the reward function. What am i supposed to do?? Do i have to add anything in addition ??

Is here any video ? Or just pictures ?

I am getting the video…But when I close after watching it fully… I am not getting any logs that i have given in reward function.

no reward callback on iOS simulator (works before) , but works on device

adViewDidReceiveAd:top_banner
2017-05-10 00:10:03.444 admob iOS[212:6199] CFNetwork SSLHandshake failed (-9806)
2017-05-10 00:10:03.494 admob iOS[212:6199] CFNetwork SSLHandshake failed (-9806)
2017-05-10 00:10:03.661 admob iOS[212:6199] CFNetwork SSLHandshake failed (-9802)
adViewDidReceiveAd:next_level
adViewDidReceiveAd:gameover
2017-05-10 00:10:18.416 admob iOS[212:6287] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
adViewDidReceiveAd:rewarded
adViewWillPresentScreen:rewarded
2017-05-10 00:10:58.987 admob iOS[212:6034] Received memory warning.
2017-05-10 00:11:01.451 admob iOS[212:6034] Received memory warning.
adViewDidReceiveAd:home
reward:rewarded, currency=reward, amount=1.0
2017-05-10 00:11:42.659 admob iOS[212:6034] Received memory warning.
adViewWillDismissScreen:rewarded

@yinjimmy

Thank you…
will check in device and let you know.

@yinjimmy

this is the log which i am getting

adViewDidReceiveAd name=rewarded
adViewWillPresentScreen name=rewarded
2017-05-12 15:29:05.536887+0530 test-mobile[525:53459] <Google:HTML> You 
are currently using version 7.18.0 of the SDK. Please consider updating your SDK to the most 
recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded f 
rom http://goo.gl/iGzfsP. A full list of release notes is available at 
https://developers.google.com/admob/ios/rel-notes.

you can get the latest admob sdk from http://goo.gl/iGzfsP, and put it in proj.ios folder,
then test it again.

@yinjimmy

I downloaded admob sdk from the above link and I tested it again. The error log saying “to update admob sdk” has been fixed.But still reward callback is not been called.

Can i know in which device did u test??
I am testing it in iphone 6

I’m testing with iPhone 4s