This is my first time using sdkbox. I have cocos2d-x-3.10. I followed the instruction to install sdkbox and imported two plugins, in-app-purchase and social shared.
When I call it, i get the error message . I am on iOS 9.1
TypeError: sdkbox.SocialPlatform is undefined
Here is my code
sdkbox.PluginShare.init();
var shareInfo = {};
shareInfo.text = "#sdkbox(www.sdkbox.com) - the cure for sdk fatigue - from js - ";
shareInfo.title = “sdkbox”;
shareInfo.image = “http://www.sdkbox.com/assets/images/logo.png”;
shareInfo.link = “http://www.sdkbox.com”;
shareInfo.platform = sdkbox.SocialPlatform.Platform_Select;
plugin.share(shareInfo);