SDKBOX, PluginIAPJSHelper compile error


#1

Got the next error today on my project. Someone know how to fix this?

jni/../../Classes/PluginIAPJSHelper.cpp: In member function 'void JsIAPCallbackObj::callback(float)':
jni/../../Classes/PluginIAPJSHelper.cpp:278:68: error: too few arguments to function 'bool std_vector_string_to_jsval(JSContext*, const std::vector<std::basic_string<char> >&, JS::MutableHandleValue)'
             dataVal[0] = std_vector_string_to_jsval(cx, _productIds);

SDKBOX plugins version 2.3.17.3, on mac and windows. cocos creator 1.6.1 and 1.6.2


#2

Still cant solve this problem (on Creator 1.7 and Creator 1.6+)
Also, when I am installing prev. working versions of plugins (2.3.17.1), on first usage sdkbox in JS code, game crushes

Someone know what is it?


#3

iap_1.7.zip (7.3 KB)

attachment is IAP JS binding for creator 1.7.

we’re working with creator 1.7.


#4

sdkbox update --stagin

2.3.17.4 will be release soon. (12/8)

@Insality