Giter Club home page Giter Club logo

sarate-1's Introduction

SARate

SARate is a library to get positive app reviews on the AppStore. SARate is a subclass of iRate.

Screens

SARate screen

SARate screen

Youtube video

SARate youtube

Requirements

  • iOS 5+,
  • ARC.

Installation

CocoaPods: pod "SARate"

or

  1. Drop SARate files into your project.
  2. Add QuartzCore.framework, MessageUI.framework to your project.

Example Usage

Add the SARate configuration code in your AppDelegate's initialize method:

#import "SARate.h"

+ (void)initialize
{
    //configure
    [SARate sharedInstance].daysUntilPrompt = 5;
    [SARate sharedInstance].usesUntilPrompt = 5;
    [SARate sharedInstance].remindPeriod = 30;
    [SARate sharedInstance].email = @"[email protected]";
}

Customization

#import "SARate.h"

+ (void)initialize
{
    //configure
    [SARate sharedInstance].daysUntilPrompt = 5;
    [SARate sharedInstance].usesUntilPrompt = 5;
    [SARate sharedInstance].remindPeriod = 30;
    [SARate sharedInstance].promptForNewVersionIfUserRated = YES;
    //enable preview mode
    [SARate sharedInstance].previewMode = YES;
    
    [SARate sharedInstance].email = @"[email protected]";
    // 4 and 5 stars
    [SARate sharedInstance].minAppStoreRaiting = 4;
    [SARate sharedInstance].emailSubject = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
    [SARate sharedInstance].emailText = @"Disadvantages: ";
    [SARate sharedInstance].headerLabelText = @"Like app?";
    [SARate sharedInstance].descriptionLabelText = @"Touch the star to rate.";
    [SARate sharedInstance].rateButtonLabelText = @"Rate";
    [SARate sharedInstance].cancelButtonLabelText = @"Not Now";
    [SARate sharedInstance].setRaitingAlertTitle = @"Rate";
    [SARate sharedInstance].setRaitingAlertMessage = @"Touch the star to rate.";
    [SARate sharedInstance].appstoreRaitingAlertTitle = @"Write a review on the AppStore";
    [SARate sharedInstance].appstoreRaitingAlertMessage = @"Would you mind taking a moment to rate it on the AppStore? It won’t take more than a minute. Thanks for your support!";
    [SARate sharedInstance].appstoreRaitingCancel = @"Cancel";
    [SARate sharedInstance].appstoreRaitingButton = @"Rate It Now";
    [SARate sharedInstance].disadvantagesAlertTitle = @"Disadvantages";
    [SARate sharedInstance].disadvantagesAlertMessage = @"Please specify the deficiencies in the application. We will try to fix it!";
}

Contact

Andrei Solovjev

License

SARate is available under the MIT license. See the LICENSE file for more info.

sarate-1's People

Contributors

andrei200287 avatar guidev avatar

Watchers

James Cloos avatar

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.