Want user to use app for n number before RateApplicationReminder

7 posts, 1 answers
  1. Binu
    Binu avatar
    6 posts
    Member since:
    Dec 2012

    Posted 16 Sep 2013 Link to this post

    Hi

    I want the user to use the app for 5 times and from the 6th time i want to show the RateApplicationReminder alert for every time.

    if i keep the RecurrencePerUsageCount =1 then it start showing the alert from the very first time. i want user to check the app for some n times and then i want them to rate it

    Binu
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 17 Sep 2013 Link to this post

    Hi Binu,

    Thank you for your question.

    You can use the information from the ApplicationUsageHelper in order to determine the time the app is used and cancel the reminder's display in case the app is used less than 6 times. You can do this in a handler for RadRateApplicationReminder's Showing event similar to this:

    private void OnRateApplicationReminder_Showing(object sender, System.ComponentModel.CancelEventArgs e)
    {
        if (ApplicationUsageHelper.ApplicationRunsCountTotal < 6)
        {
            e.Cancel = true;
        }
    }

    This way the reminder will not be displayed during the first 5 usages and then it will start showing depending on RecurrencePerUsageCount's value.

    I hope this information helps. If you need further assistance, you can write back anytime.
     
    Regards,
    Todor
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Binu
    Binu avatar
    6 posts
    Member since:
    Dec 2012

    Posted 17 Sep 2013 Link to this post

    Hi
    Thanks for your reply, i tried it on my project but the event is not fired.

    Private Sub OnRateApplicationReminder_Showing(sender As Object, e As System.ComponentModel.CancelEventArgs)
            If ApplicationUsageHelper.ApplicationRunsCountTotal < 6 Then
                e.Cancel = True
            End If
        End Sub
    i used the above code on mainpage and even tried at app.xaml.vb

    This is the code i am using on app.xaml.vb for RadRateApplicationReminder
    Public rateReminder As RadRateApplicationReminder

    'Creates a new instance of the RadRateApplicationReminder component.
            rateReminder = New RadRateApplicationReminder()
     
            'Sets how often the rate reminder is displayed.
            rateReminder.RecurrencePerUsageCount = 1
            rateReminder.SkipFurtherRemindersOnYesPressed = True
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 17 Sep 2013 Link to this post

    Hi,

    You also need to accosiate the event handler with the event:

    AddHandler rateReminder.Showing, AddressOf OnRateApplicationReminder_Showing

    I hope this information helps.
     
    Regards,
    Todor
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Binu
    Binu avatar
    6 posts
    Member since:
    Dec 2012

    Posted 17 Sep 2013 Link to this post

    Thanks it worked.

    Binu
  7. Binu
    Binu avatar
    6 posts
    Member since:
    Dec 2012

    Posted 23 Oct 2013 Link to this post

    Hi

    The above solution worked for newly installed app. But once the app gets a update then the rate remainder starts showing from the first time.

    I want to show the remainder after 5th time for new installation and after update.

    It is possible.

    thanks
    Binu
  8. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 23 Oct 2013 Link to this post

    Hi Binu,

    Thanks for getting back.

    If you want to display the reminder after the 5th usage of the current version of the application, then you need to use ApplicationRunsCountForCurrentVersion instead of ApplicationRunsCountTotal.

    Let us know if you need further assistance.
     
    Regards,
    Todor
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner