This question is locked. New answers and comments are not allowed.
Hi. I've added the TrialApplicationReminder in my Windows Phone 8.0 app and have problems. I use the following sample code:
Added the ApplicationUsageHelper.Init( "1.9.6.5" ); in AppLaunch and ApplicationUsageHelper.OnApplicationActivated();
in Activated.
I'm trying to debug (preview) the trial message box, but there are no message boxes. When I try to debug, I see that the trialReminder is always null at the moment of launch and the constructor is calling. What I need to do?
private
static
RadTrialApplicationReminder trialReminder;
public
static
RadTrialApplicationReminder TrialReminder {
get
{
if
(trialReminder !=
null
) {
return
trialReminder;
}
return
new
RadTrialApplicationReminder() {
AllowedTrialUsageCount = 5,
FreeUsageCount = 2,
OccurrenceUsageCount = 1,
SimulateTrialInDebugMode =
true
,
TrialReminderMessageBoxInfo =
new
MessageBoxInfoModel() {
Buttons = MessageBoxButtons.YesNo,
Content = AppResources.PleaseBuyThisApp,
Title = AppResources.ApplicationTitle
}
};
}
}
in Activated.
I'm trying to debug (preview) the trial message box, but there are no message boxes. When I try to debug, I see that the trialReminder is always null at the moment of launch and the constructor is calling. What I need to do?