This question is locked. New answers and comments are not allowed.
I'm building an app where, during a trial period, I will display ads and only allow the user to save a single item to a list. The paid version will be ad-free and allow users to save multiple items. I would like the trial reminder to occur once a week, with the option to disable further reminders. I'm not sure what the best way to check if the application has been purchased, as the IsTrialExpired property only lets me know if the trial period has expired. Would the below configuration allow me to handle this situation. It seems like it will notify the user every time the app starts, and with testing that is what is happening. What's the best way to configure my requirements?
var trialMessageBox =
new
MessageBoxInfoModel()
{
Buttons = MessageBoxButtons.YesNo,
Content = AppResource.App_TrialReminder_Text,
SkipFurtherRemindersMessage = AppResource.App_TrialReminder_SkipMessage,
Title = AppResource.App_TrialReminder_Title
};
_TrialApplicationReminder =
new
RadTrialApplicationReminder
{
AllowedTrialPeriod = TimeSpan.FromSeconds(1),
FreePeriod = TimeSpan.FromSeconds(1),
OccurrencePeriod = TimeSpan.FromDays(7),
AllowUsersToSkipFurtherReminders =
true
,
#if DEBUG
SimulateTrialForTests =
true
,
#endif
TrialReminderMessageBoxInfo = trialMessageBox,
TrialExpiredMessageBoxInfo = trialMessageBox
};