TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Ask4AppReviews is a class that you can drop into any iPhone app (iOS 5.0 or later) that will help remind your users to review your app on the App Store. The code is released under the MIT/X11, so feel free to modify and share your changes with the world. To find out more, check out the homepage.
pod 'Ask4AppReviews'
)CFNetwork
and SystemConfiguration
and 'MessageUI' frameworks to your project (CocoaPods handles this for you)[Ask4AppReviews appLaunched:YES]
at the end of your app delegate's application:didFinishLaunchingWithOptions:
method.[Ask4AppReviews appEnteredForeground:YES]
in your app delegate's applicationWillEnterForeground:
method. and provide a navigationController for the MailComposer message to appear[Ask4AppReviews userDidSignificantEvent:YES]
when the user does something 'significant' in the app.AppStoreId
in your project info.plist (AppStoreId) and 'DeveloperEmail' which is the email which the positive feedback goes too.You can override the dettings #defined in .h file, by calling the method [Ask4AppReviews loadConfiguration:@{key:value}]
somewhere early in your app (for example, in the didFinishLaunchingWithOptions:
method of your AppDelegate), for example something like this (if you change the .h file installed via CocoaPods, you'll loose your changes):
[Ask4AppReviews loadConfiguration:@{
@"Ask4AppReviews_DAYS_UNTIL_PROMPT" : @3,
@"Ask4AppReviews_USES_UNTIL_PROMPT" : @4,
@"Ask4AppReviews_SIG_EVENTS_UNTIL_PROMPT" : @-1,
@"Ask4AppReviews_TIME_BEFORE_REMINDING" : @4,
@"Ask4AppReviews_DEBUG" : @NO,
}];
Copyright 2012. luke durrant. This library is distributed under the terms of the MIT/X11.
While not required, I greatly encourage and appreciate any improvements that you make to this library be contributed back for the benefit of all who use it. the original forked code can be found at the project https://github.com/arashpayan/appirater