Skip to content

Remind Later Settings

RamPapineni edited this page Sep 11, 2014 · 1 revision

[Optional]Handle "Remind Me Later"

If user clicks on RemindMeLater for a campaign then he will be presented the same growth hack after 1 day by default. This value is configurable, you can set "after how many days" you want to show the same campaign to that user.

If you are implementing your own UI to launch the growth hack, you may want to pass the "RemindMeLater" click event to record that user action & user want to see the growth hack later.


// Handle RemindMeLater and Pass the event to Appvirality SDK       
remindMeLaterButton.setOnClickListener(new OnClickListener()
{
    @Override
    public void onClick(View view)
    {
        AppviralityAPI.remindLater(); 
        //Hide your custom UI
        myCustomButton.setVisibility(View.GONE);
        remindLaterButton.setVisibility(View.GONE);
    }
}
);