我刚刚将应用程序中的 apptentive 更新为 1.5.0v。当条件为真时,评级提示对话框成功显示,但如果用户点击“稍后提醒我”,评级提示将不再显示。
我用下面的代码显示对话框:
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
if (hasFocus
&& this instanceof SongActivity
&& InternalCache.getCounterApptentiveDialog() >= DOWNLOADS_TO_SHOW_APPTENTIVE) {
boolean ret = Apptentive.engage(this, "init");
if (ret) {
System.out.println("GA-APPtentive");
GAHelper.getInstance().apptentiveRateDialog(getClassName(),
getItemId());
}
}
}
是否需要更多信息才能再次显示评级提示对话框?
最佳答案
系统会提醒您根据 Apptentive Rating Prompt 交互设置中的值再次对应用进行评分:
如果设置为 10 天,您需要在按下“稍后提醒我”后等待 10 天才能再次提示。您可以通过将设备时钟向前移动来模拟这一点。
“提醒”交互只会在您参与其事件时触发。此事件与用于触发评级提示的主事件相同。
苹果:
[[ATConnect sharedConnection] engage:@"testRatingFlow" fromViewController:self];
安卓:
Apptentive.engage(this, "testRatingFlow").
关于android - 如何触发Apptentive评分提示提醒?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24860570/