Integrate SDKBOX Review plugin fail

Cocos2d-js 3.17
SDKBOX review plugin 2.6.0.1

The comman sdkbox import review is auto register javascript functions.

#ifdef SDKBOX_ENABLED
#include “SDKBoxJSHelper.h”
#include “PluginReviewJS.hpp”
#include “PluginReviewJSHelper.h”
#endif

#ifdef SDKBOX_ENABLED
sc->addRegisterCallback(register_all_PluginReviewJS);
sc->addRegisterCallback(register_all_PluginReviewJS_helper);
#endif

I installed SDKBOX Review plugin successful but get an error build fail message:

/…/…/Classes/AppDelegate.cpp:211: error: undefined reference to ‘register_all_PluginReviewJS_helper(JSContext*, JS::Handle<JSObject*>)’

And I have a confused in this document http://docs.sdkbox.com/en/plugins/review/v3-js/ is import

#include “PluginReviewJS.hpp”
#include “PluginReviewJSHelper.hpp”

The PluginReviewJSHelper.hpp not exist in frameworks/runtime-src/Classes

Only 'PluginReviewJSHelper.hpp 'does this one file not exist?

@htlxyz yep! Only PluginReviewJSHelper.hpp file is not exist.

you can copy PluginReviewJSHelper.hpp from ~/.sdkbox/plugins/sdkbox-review_v2.6.0.1 to your project.

@htlxyz in plugins/sdkbox-review_v2.6.0.1 not exist PluginReviewJSHelper.hpp too.


I spent a lot of time trying to find all possible ways but it did not work. No one can help?

my fault, use this file, `PluginReviewJSHelper.h’