Feedback for SDKBOX

@nite what about Game centre??? will that be available in future extension

Game center support is released, use

sdkbox import sdkboxplay

holy cow, that’s awesome! I implemented Game Center on my game when it was in Objective C, and I lost that functionality when I rewrote it in C++ and cocos2d-x last year, and I figured I could write some C++ wrappers around it, but knowing that you now have game center support is incredible! Nice work!

@nite
hello,

I was trying to use SDKBOX SDKBOXADS when encountered this error,

I used these command

thank you in advance

It’s great! I’m more than happy! I was using Sonar Cocos Helper and I’m trying to replace it with SDKBOX, but some things are missing on Android or need improvements:

  1. There is no possibility to show an intent with all leader boards on Android. Please add getAllLeaderboardsIntent function from gpg API. Maybe it could be shown if you call showLeaderboard() with empty string or without arguments?

  2. There is no possibility to change signed in user on Android. In Cocos Helper if you called signOut() and then called signIn() again, you were asked to choose user account for signing in. In SDKBOX calling signin() ends with auto signing in of last used account (e.g. in last session and you can’t sign in other account). I think that the user should have the possibility to choose the account.

  3. isConnected() should be renamed, because you have:
    signin() for signing in
    signout() for signing out
    isConnected() for checking if the user is signed in. A little bit confusing.

1 Like

HELLO @nite, @pabitrapadhy

I was trying to integrate Facebook sdk in an my game,

for android login share all works fine, but I ported same game to iOS I could not share post.
Even though login is working.

what exactly happening is that after granting permission its comes back to the game

Ok I’ll try to reproduce it.

1 Like

Those are really good suggestions, we’ll update the plugin in the upcoming release.

@nite , @slackmoehrle

hello everyone,

is there any way to display smart banner admob ads as it become quite small for tablets and iPad

thank you :smiley:

@nite @slackmoehrle @pabitrapadhy @pandamicro

after working for sometime I found that sdkbox.PluginFacebook.share(info); is not working in iOS so I used sdkbox.PluginFacebook.dialog(info); instead.

it would be great if u look in this issue

thank you :smiley:

Yes we already supported smart banner, @yinjimmy can you help.

I double checked the sample it seems to working for ios can you give it a try? Also for facebook integration there are additional steps for each platform, please make sure they’re done correctly.

Hi undercode,

For smart banner, just set

"height":0

Thanks

1 Like

I did all the things and turns out share functionality is not working in ios. even in examples in git hub

thanks @yinjimmy @nite

can you help me with crashes of during admob .
here is the bug report.


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

It would be great if you can send us the full stack trace.

Which function cases this issue?

after ad is displayed

Could you send us full stack trace?

I updated to 2.2.2.10 and it’s great!

  1. All leader boards intent: works!
  2. Choosing account to log in after logging out: works!
  3. isSignedIn(): works!

Thank you!