SDKBox Play Plugin crashes

Hello all,

I used “sdkbox::PluginSdkboxPlay::signin();” in Xcode project,

The app crashes with error:
SDKBox-mobile was compiled with optimization - stepping may behave oddly; variables may not be available.

Could you all please help.

Thank you,
Diep

Yes, there is a known issue, and we’re fixing it. Can you try run your app in real device?

I built it on iOS device by Xcode, it crashed.
Build android by command lines, it worked.

这个问题还是没有解决,不知道有没有人跟进。

原来是因为没有设listener,文档不清,害死人

Any update about fixing this crash ?

set listener please

Yes we had same issue, after adding listeners it worked.

This actually happened to me updating to sdkbox v1.0.0.16 and skdboxplay 2.3.0.8 I think I was using 2.2.5.3 and everything worked fine.

How did listeners fix the problem? I just implemented SDKBOX Play in my Cocos Creator project and my game opens for 2 seconds then closes/crashes.

onLoad I am calling:

sdkbox.PluginSdkboxPlay.init();
sdkbox.PluginSdkboxPlay.signin();

@nite

UPDATE:
I solved the issue. The problem was I forgot to configure the AndroidManifest.xml file and set my APP_ID in …\proj.android\res\values\strings.xml