GithubHelp home page GithubHelp logo

shaileshmamgain5 / twostagerate Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 17.0 595 KB

TwoStageRate is a library to help you promote your android app by prompting users to rate the app after using it for a few days. Also its two stage process ensures higher reviews to go to playstore while getting useful feedback on lower ratings.

Home Page: https://github.com/shaileshmamgain5/TwoStageRate

License: GNU General Public License v3.0

Java 100.00%

twostagerate's People

Contributors

mishindmitriy avatar shaileshmamgain5 avatar thubalek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

twostagerate's Issues

Use of "resetOnDismiss"

I noticed the resetOnDismiss(true) flag works only if the ratingBar is dismissed. If - when prompted to enter a review - I click on "No thanks", I'm not prompted anymore even though I set the resetOnDismiss flag.

Is there a way to be prompted again after a number of events if I clicked on "No, thanks!" when prompted to post a review?

I tried the following:

rate.setOnDialogDismissedListener(new DialogDismissedListener() { @Override public void onDialogDismissed() { rate.settings.launchTimes = 0; } });

but it seems to me it's never triggered.

Thank you
Marco

My users see this dialog to often

Hello. I have these rules:
TwoStageRate twoStageRate = TwoStageRate.with(this);
twoStageRate.setInstallDays(3);

BUT

Dialog will show after 5 runs of my app. Why? This is very urgent bug

Full code:

`TwoStageRate twoStageRate = TwoStageRate.with(this);

    twoStageRate.setInstallDays(rateAppNumberOfDaysBeforeShowDialog);

    //If user dismisses it, it simply resets again. (when user dismissed by clicking anywhere else on screen)
    twoStageRate.resetOnDismiss(true);  //it is true by default

    //If user gives rating the first time but declines to give playstore rating/ feedback we can reset the
    //TwoStageRate. These are false by default.
    twoStageRate.resetOnFeedBackDeclined(true).resetOnRatingDeclined(true);

    //You may choose to show/hide your app icon in rating prompt (default true)
    twoStageRate.setShowAppIcon(true);

    //Setting texts for initial prompt
    twoStageRate.setRatePromptTitle(RATE_INITIAL_TITLE).
            setRatePromptLaterText(RATE_LATER_TEXT).setRatePromptNeverText(RATE_NEVER_TEXT).setRatePromptDismissible(false);

    //Setting texts for confirmation dialog
    twoStageRate.setConfirmRateDialogTitle(RATE_CONFIRMATION_TITLE).
            setConfirmRateDialogDescription(RATE_CONFIRMATION_DESCRIPTION).
            setConfirmRateDialogPositiveText(RATE_POSITIVE_BUTTON_TEXT).
            setConfirmRateDialogNegativeText(RATE_NEGATIVE_BUTTON_TEXT).
            setConfirmRateDialogDismissible(true);

    //Setting texts for feedback title
    twoStageRate.setFeedbackDialogTitle(RATE_FEEDBACK_TITLE).
            setFeedbackDialogDescription(RATE_FEEDBACK_DIALOG_DESCRIPTION).
            setFeedbackDialogPositiveText(RATE_FEEDBACK_POSITIVE_BUTTON_TEXT).
            setFeedbackDialogNegativeText(RATE_NEGATIVE_BUTTON_TEXT).
            setFeedbackDialogDismissible(false);`

Crashes when "sure" is pressed in the dialog box

In the dialog "Would you like to post...." it crashes when sure is pressed. I see that it tries to launch an activity with intent to app store.

final Intent intentToAppstore = settings.getStoreType() == Settings.StoreType.GOOGLEPLAY ?
IntentHelper.createIntentForGooglePlay(context) : IntentHelper.createIntentForAmazonAppstore(context);
context.startActivity(intentToAppstore);d

How can I handle this?

Kotlin port?

Hello, can you please port this amazing plugin to kotlin?

Can't change texts in dialogs

These methods don't make any changes:

.setRatePromptTitle("some text")
.setRatePromptLaterText("some text")
.setRatePromptNeverText("some text")

.setConfirmRateDialogTitle("some text")
.setConfirmRateDialogDescription("some text")
.setConfirmRateDialogPositiveText("some text")
.setConfirmRateDialogNegativeText("some text")

.setFeedbackDialogTitle("some text"))
.setFeedbackDialogDescription("some text"))
.setFeedbackDialogPositiveText("some text"))
.setFeedbackDialogNegativeText("some text"))

I see only your hardcoded text. But after i turn phone to recreate dialog, my text is shows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.