Reputation: 87
I just updated apptentive in my app to 1.5.0v. The rating prompt dialog is shown successfully when the conditions are true, but if the user clicks on "Remind me later", the rating prompt never is shown again.
I show the dialog, with the next code:
@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());
}
}
}
Do I need something more in order to show the rating prompt dialog again?
Upvotes: 1
Views: 771
Reputation: 34983
You are reminded to rate the app again according to the value in your Apptentive Rating Prompt interaction's settings:
If it's set to 10 days, you will need to wait 10 days after pressing "Remind Me Later" to be re-prompted. You can simulate this by moving your device clock forward.
The "reminder" interaction will only be triggered if you engage its event. This event is the same as the main event used to trigger the Rating Prompt.
iOS:
[[ATConnect sharedConnection] engage:@"testRatingFlow" fromViewController:self];
Android:
Apptentive.engage(this, "testRatingFlow").
Upvotes: 1