hotchemi / Android-Rate

Android-Rate is a library to help you promote your android app by prompting users to rate the app after using it for a few days.
http://hotchemi.github.io/Android-Rate
MIT License
724 stars 216 forks source link

Add the ability to set a maximum number of dialog showings within a year’s time from the date of ‘installation’ #140

Closed elhicks closed 3 years ago

AlexanderLS commented 6 years ago

@elhicks I want to merge your commits to https://github.com/Vorlonsoft/AndroidRate (Release 1.1.7+)... Could you please explain me about this ability? Why you need it? Why other library users need it? Thank you!

elhicks commented 6 years ago

Hey Alex,

The particular app I needed to add ratings capability to, part of the acceptance criteria is the product owner wanted to put a hard limit on how many times we show the dialog within a year's time. Apparently this semi-mirrors an aspect of iOS ratings requests. Thought the change might be useful for other people who get similar requests so I tossed out a pull requests from the fork I made for the small change.

Thanks,

Ed

AlexanderLS commented 6 years ago

Hi @elhicks

Thank you for your idea. I found corresponding iOS documentation - System Rating and Review Prompts

Your Pull request has 3 significant errors:

I implemented this feature by myself and included it in the AndroidRate Library Release 1.1.7+.

AppRate.with(this).set365DayPeriodMaxNumberDialogLaunchTimes(short);

Best regards, Alexander Savin