SDKBOX 2.2 Released

Hey @Undercode

I have checked adcolony, but couldn’t reproduce the issue.
However the sample didn’t had listener added, we will fix that soon

However I have added listener and it worked fine for me.
Could you please check with our sample… ??

please add the lines as mentioned below to invoke the listener -

if ( !Layer::init() )
    {
        return false;
    }
    
CCLOG("Sample Startup");

sdkbox::PluginAdColony::setListener(this);
sdkbox::PluginAdColony::init();

// add logo

the listener and the init as it is missing in the sample to check.

If you already have facebook from sdkbox, then vungle conflicts with facebook.
so, if you want to install vungle along with facebook, you would face some issues.
that’s why the info is.

this usually shows up when the name of the plugin is not correct.
it should be - sdkbox import vungle if you are using vungle

NOTE: please make sure that you do not have a case-sensitive OS.

Best,
Pabitra

Can you try

sdkbox import -b path_to_plugin

Thanks for your reply :smile:

so what I have in my code for listener is .

sdkbox.PluginAdColony.init();
            sdkbox.PluginAdColony.setListener({
                
                
                onAdColonyChange: function (data, available) {
                    // Called when AdColony finish loading
console.log("1");
                    // dump(data);

                }
                , onAdColonyReward: function (data, currencyName, amount, success) {
                  
                    // Called when AdColony v4vc ad finish playing
                    cc.log("onAdColonyReward");
                    var newpurse = 0;
                    cc.log("coin1 " + LS.getItem('coins'));

                    var newpurse = parseInt(cc.sys.localStorage.getItem('coins')) + amount;

                    //  LS.setItem('coins', 0);
                    cc.log("amount" + amount);
                    cc.log("purse " + newpurse);
                    cc.log("coins " + LS.getItem('coins'));
                    cc.sys.localStorage.setItem('coins', newpurse);
                    // dump(data);

                }
                , onAdColonyStarted: function (data) {
                    // Called when ad starts playing

   console.log("listner");
                    //  dump(data);
                }
                , onAdColonyFinished: function (data) {
                    // Called when an ad finish displaying
console.log("listner");
                    //dump(data);

                }
            });

and somehow after watching 3 rewarded videos I was not able to credit my reward, later I found out that adColony listener getting called

Thank you for the effort for improving.

Do you have plan to add “apprequets” function to your facebook plugin? I’ve been waiting this functionality for several months.

Or, is there any way to change the Invitation Message “It’s your turn versus XXXX”. When I call inviteFriendsWithInviteIds() function, I can’t change that message.

Is it depends on “action_type” internally? If so, can you provide an interface to select “action_type”?

1 Like

I tried but was not able reproduce the issue, using our standard sample I was able to play video and earn coins > 3.
On what platform (android v.s. iOS) / language combo are you experiencing the issue? Could you share your project to us so we can investigate further?
Thanks and Regards,
Ryan

@ryanjjj

thank you for responding, so the platform is android and m using javaScript, I tried to rebuild the .apk and installed it, then the issue was gone, I m sorry i cannot share the project with you because of some copyright issues of the firm I worked In , but I would say that this is issue is worth solving…

Great! Thanks for letting us know.

Hi @pabitrapadhy:

We are using facebook and vungle too.

We are still dealing with this issue:

Could it be related with this conflict?

@nite @slackmoehrle @pabitrapadhy hello,

today while integrating Facebook plugin in iOS app I encountered this problem while I share

2016-05-09 18:26:14.673 Rush-final-mobile[4366:749824] FBSDKLog: FBSDKAppEvents: Flushed @ 1462798573, 2 events due to ‘Timer’ - {
“advertiser_id” = “4DD25555-04C5-47FE-9CFD-5C17DC323074”;
“advertiser_tracking_enabled” = 1;
“anon_id” = “XZ1E34E877-3D79-4CCA-ADF3-59A316DC9356”;
“application_tracking_enabled” = 1;
event = “CUSTOM_APP_EVENTS”;
extinfo = “[“i2”,“com.test.nightsurfer”,“1.0”,”",“8.4.1”,“iPad2,5”,“en_IN”,“IST”,“NoCarrier”,768,1024,“1.00”,2,13,0]";
“url_schemes” = “[“fb1694516830826943”]”;
}
Events: [
{
“isImplicit” : false,
“event” : {
“_ui” : “no_ui”,
“_logTime” : 1462798558,
“_eventName” : “fb_mobile_activate_app”,
“fb_mobile_launch_source” : “Unclassified”
}
},
{
“isImplicit” : false,
“event” : {
“fb_mobile_launch_source” : “Unclassified”,
“fb_mobile_app_interruptions” : 1,
“_logTime” : 1462798558,
“_ui” : “no_ui”,
“_valueToSum” : 107,
“_eventName” : “fb_mobile_deactivate_app”,
“fb_mobile_time_between_sessions” : “session_quanta_4”
}
}
]
Flush Result : Success
length 0
libpng warning: iCCP: known incorrect sRGB profile
nodes width : 960
dw
2016-05-09 18:26:15.540 Rush-final-mobile[4366:750011] Google:HTML You are currently using version 7.7.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 from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.
2016-05-09 18:26:23.025 Rush-final-mobile[4366:750191] Communications error: <OS_xpc_error: <error: 0x392c3614> { count = 1, contents =
“XPCErrorDescription” => <string: 0x392c386c> { length = 22, contents = “Connection interrupted” }
}>
2016-05-09 18:26:34.014 Rush-final-mobile[4366:749824] FBSDKLog: FBSDKAppEvents Persist: Writing 0 events
2016-05-09 18:26:34.026 Rush-final-mobile[4366:749824] FBSDKLog: FBSDKTimeSpentData Persist: {“secondsSpentInCurrentSession”:36,“lastSuspendTime”:1462798594,“numInterruptions”:0}
2016-05-09 18:26:38.572 Rush-final-mobile[4366:749824] FBSDKLog: FBSDKAppEvents: Flushed @ 1462798594, 4 events due to ‘Timer’ - {
“advertiser_tracking_enabled” = 1;
“anon_id” = “XZ1E34E877-3D79-4CCA-ADF3-59A316DC9356”;
“application_tracking_enabled” = 1;
event = “CUSTOM_APP_EVENTS”;
extinfo = “[“i2”,“com.test.nightsurfer”,“1.0”,”",“8.4.1”,“iPad2,5”,“en_IN”,“IST”,“NoCarrier”,768,1024,“1.00”,2,13,0]";
“url_schemes” = “[“fb1694516830826943”]”;
}
Events: [
{
“isImplicit” : true,
“event” : {
“2_result” : “”,
“0_auth_logger_id” : “672CEBFC-C096-4EC4-AFCC-24253A211E00”,
“_logTime” : 1462798582,
“_implicitlyLogged” : “1”,
“_ui” : “no_ui”,
“4_error_code” : “”,
“6_extras” : “{“tryFBAppAuth”:true,“isReauthorize”:false,“trySafariAuth”:true,“default_audience”:“friends”,“tryIntegratedAuth”:false,“permissions”:“publish_actions”,“tryFallback”:false,“login_behavior”:“FBSDKLoginBehaviorNative”}”,
“1_timestamp_ms” : 1462798582403,
“5_error_message” : “”,
“_eventName” : “fb_mobile_login_start”
}
},
{
“isImplicit” : true,
“event” : {
“2_result” : “”,
“0_auth_logger_id” : “EE5DEB93-CC79-480F-9274-297E64C09F92”,
“_logTime” : 1462798582,
“_implicitlyLogged” : “1”,
“_ui” : “no_ui”,
“4_error_code” : “”,
“6_extras” : “{“tryFBAppAuth”:true,“isReauthorize”:false,“trySafariAuth”:true,“default_audience”:“friends”,“tryIntegratedAuth”:false,“permissions”:“email,public_profile”,“tryFallback”:false,“login_behavior”:“FBSDKLoginBehaviorNative”}”,
“1_timestamp_ms” : 1462798582455,
“5_error_message” : “”,
“_eventName” : “fb_mobile_login_start”
}
},
{
“isImplicit” : true,
“event” : {
“2_result” : “”,
“0_auth_logger_id” : “070E4968-BC3F-4D97-ADE6-8E3698153D11”,
“_logTime” : 1462798582,
“_implicitlyLogged” : “1”,
“_ui” : “no_ui”,
“4_error_code” : “”,
“6_extras” : “{“tryFBAppAuth”:true,“isReauthorize”:false,“trySafariAuth”:true,“default_audience”:“friends”,“tryIntegratedAuth”:false,“permissions”:“public_profile”,“tryFallback”:false,“login_behavior”:“FBSDKLoginBehaviorNative”}”,
“1_timestamp_ms” : 1462798582480,
“5_error_message” : “”,
“_eventName” : “fb_mobile_login_start”
}
},
{
“isImplicit” : true,
“event” : {
“_eventName” : “fb_mobile_login_method_start”,
“3_method” : “fb_application_web_auth”,
“0_auth_logger_id” : “070E4968-BC3F-4D97-ADE6-8E3698153D11”,
“_logTime” : 1462798583,
“_implicitlyLogged” : “1”,
“_ui” : “no_ui”,
“4_error_code” : “”,
“1_timestamp_ms” : 1462798582666,
“6_extras” : “{“isMessengerAppCanOpenURLSchemeRegistered”:false,“isFacebookAppCanOpenURLSchemeRegistered”:true,“isURLSchemeRegistered”:true}”,
“5_error_message” : “”,
“2_result” : “”
}
}
Facebook :Requested FB action and not logged-in.

can anyone know about this error

Does current sdkbox support subscription item in playstore? Or should I use Anysdk to do it?

Can you double check if you complete this step?
http://docs.sdkbox.com/en/plugins/facebook/v3-cpp/#setup-ios

right now you can use subscription as non-consumable, it’s not ideal.

@nite @slackmoehrle @pabitrapadhy

while using sdkbox admob pulgin my game crashes on android several times.

here is the bug report form phone.

please help me in this :frowning:


Build fingerprint: ‘Xiaomi/cancro/cancro:4.4.4/KTU84P/V7.1.2.0.KXDMICK:user/release-keys’
Revision: ‘0’
pid: 30208, tid: 30759, name: Thread-16637 >>> com.test.color <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000030
r0 00000000 r1 76eebdd0 r2 00000000 r3 00000019
r4 76ee857c r5 00000003 r6 00000001 r7 00000000
r8 ffffff88 r9 00000001 sl 78446148 fp 78414470
ip 76b68aac sp 76ee8518 lr 762406f4 pc 762406f4 cpsr 800b0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 3f8000003f800000 d5 406f900000000000
d6 40400000434a8000 d7 4008000000000000
d8 436e200043bca000 d9 416fca0500000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 32736f636f63374e d17 7275747865543964
d18 ffffff8300000000 d19 ffffff8100000000
d20 ffffff8300000000 d21 ffffff8300000000
d22 ffffff8300000000 d23 ffffff8578cf1bc0
d24 419177404123a627 d25 3d4ee27d41f38a58
d26 3f0cf6803ec3cd80 d27 3ad28d8000000000
d28 0000000000000000 d29 bf800000bf82a1e2
d30 c41be274c41be274 d31 441ba0ea4419c718
scr 68000013

backtrace:
#00 pc 004116f4 /data/app-lib/com.test.color-1/libcocos2djs.so

code around pc:
762406d4 e1a04000 e5801008 e5803000 e59f0024
762406e4 e5843004 e5c4200c e79f0000 ebf9f168
762406f4 e5902030 e1a03000 e1a00004 e5842010
76240704 e5834030 e8bd8010 0094ab88 e92d4038
76240714 e1a04000 e59f0054 e79f0000 ebf9f15c
76240724 e5d4200c e3520000 e1a03000 1a00000b
76240734 e594c000 e35c0000 0a000008 e5945004
76240744 e92d0080 e1a0000c e1a01005 e3a0780f
76240754 e2877002 e3a02000 ef000000 e8bd0080
76240764 e5942010 e1a00004 e5832030 e8bd8038
76240774 0094ab58 e92d4070 e1a06000 e5904030
76240784 e3540002 8a000016 e5964038 e3540002
76240794 98bd8070 e5945090 e3550000 18bd8070
762407a4 e5943038 e3530000 08bd8070 e5943034
762407b4 e0841105 e594202c e2855001 e7913003
762407c4 e0842002 e0820003 e7923003 e593301c

Can you provide the whole logs? there should be a section indicates which function it crashed in.

Hello,

I am a developer using the SdkboxPlay plugin for Android Google Play. I’m currently trying to show the All Leaderboards Intent but there is no functionality to show the All Leaderboards, only ShowLeaderboard with a leaderboard name/key. I know that it is possible to show All Leaderboards because there is a method to do that with GoogleAPIClient. Would one of the devs please help me out?

Please help, thank you :slight_smile:

We’re working on it, this API should be available on next release :smile:

When is next release? We need this functionality in a few weeks before our release :frowning:

should be around 5/25

First purchase was OK, but next times, I got the " Account determined from installer data " or “Account determined from library ownership”