Skip to content

AppRater is library for iOS for prompting users to rate your app on iTunes.

License

Notifications You must be signed in to change notification settings

Turkcell/AppRater_iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppRater

AppRater is library for iOS for prompting users to rate your app on iTunes. It won't prompt until 3 days AND 7 launches by default.

It supports iOS 5 and later;

Example Image ios6 Example Image ios7 Example Image native

Usage

Simply drag AppRater.h, .m files into your project and add this line to your appDelegate:

[[AppRater sharedInstance] appLaunched];

AppRater doesn't require configuration. Automatically checks your application's iTunes id with using application's bundle id. For more examples see sample application.

Configuration

AppRater have several properties that can alter the AppRater's behaviour.

@property (nonatomic) NSInteger daysUntilPrompt;

Number of days the user have had the application before they are prompted. The default value is 3 days.

@property (nonatomic) NSInteger launchesUntilPrompt;

Minimum launch count the user must launch the application before they are prompted. Calling from background increases this number. The default value is 7 launches.

@property (nonatomic) NSInteger remindMeDaysUntilPrompt;

If user select "Remind me later" option this property will be using like daysUntilPrompt. The default value is 3 days.

@property (nonatomic) NSInteger remindMeLaunchesUntilPrompt;

If user select "Remind me later" option this property will be using like launchesUntilPrompt. The default value is 7 launches.

@property (nonatomic) BOOL versionCheckEnabled;

Set this to YES if you want to re-run your prompt scenario after a new version of your application. The default value is NO;

@property (nonatomic) BOOL hideNoButton;

Set this to YES if you want to force user to rate your application now or later. The default value is NO.

@property (nonatomic, strong) NSString *preferredLanguage;

Set preferred language on your prompt window. English and Turkish supported. Uses default locale, default value is "en".

@property (nonatomic, strong) NSString *countryCode;

Set application's available country for iTunes lookup service. See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 for a list of ISO Country Codes. Default value is "tr".

@property (nonatomic) BOOL usesSystemAppRaterWhenAvailable;

When this property is YES and iOS version is 10.3+ AppRater uses native SKStoreReviewController. Default value is YES. Calling SKStoreReviewController still depends on rules that are defined by configuration parameters such as daysUntilPrompt, launchesUntilPrompt, remindMeDaysUntilPrompt and remindMeLaunchesUntilPrompt.

About

AppRater is library for iOS for prompting users to rate your app on iTunes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published