I found bug on review plugin. First of all, on Android plugin works great. But on iOS if set custom title or anything else custom for review box, listener won’t work. None of these (onDisplayAlert(), onDeclineToRate(), onRate(); onRemindLater() ) will be triggered.
I am also integrating the review plugin in iOS. But it doesn’t work. Nothing to be shown. I didn’t custom anything, only initial box. Can you help me? It’s very important thing for me.
Now, you should be having something like this in the sdkbox_config.json
{
"android": {
"Review": {
"LaunchLimit": 3,
"DayForReminding": 1,
"tryPromptWhenInit": true,
"DayLimit": 0,
"LaunchForReminding": 2,
"UserEventLimit": 0
}
},
"ios": {
"Review": {
"AppID":"587767923", //appid, valid on ios
"DayLimit": 0, //days before rate prompt show
"LaunchLimit": 3, //launch times before rate prompt show
"UserEventLimit": 0, //user event times before rate prompt show, user event increase by invoke userDidSignificantEvent
"DayForReminding": 1, //days after user selected reminding later button
"LaunchForReminding": 2, //launch times after user selected reminding later button
"tryPromptWhenInit": true //try to display prompt when plugin initialization
}
}
}
Please read the docs for further understanding clearly.
Let me know, if you face any issues in understanding the key values mentioned with comments inside sdkbox_config.json mentioned above.
Same here. ReviewListener just doesn’t work in ios if I set custom string before init().
listener works well in android.
I have set
“Disable App Transport Security”,
“Disable Bitcode support”,
“Set your game requires full screen”,
“Initialize Review” in AppDelegate.cpp,
“sdkbox::PluginReview::setListener(this)” in AppDelegate.cpp
in AppDelegate.h #include “PluginReview/PluginReview.h”
class AppDelegate : private cocos2d::Application, public sdkbox::ReviewListener
{
private:
void onDisplayAlert(){
CCLOG(“onDisplayAlert”);
}
void onDeclineToRate(){
CCLOG(“onDeclineToRate”);
}
void onRate(){
CCLOG(“onRate”);
}
void onRemindLater(){
CCLOG(“onRemindLater”);
}
};
same as Edvinas listener works in ios if I set custom string after init(), but then the auto pop won’t happen.
I have tried it on a new cocos2dx 3.8.1 project.
the listener works well in android, but not in ios.
Hi,
i found a problem on iOS.
If you add new targets(com.game.2) to the project, the rate plugin allways redirect you to the first target (imagine com.game.1)
Where the plugin is looking for the name of the package? Can I change this value?
Thanks