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.
- Add the Ask4AppReviews code into your project (directly, or via CocoaPods:
pod 'Ask4AppReviews'
) - Add the
CFNetwork
andSystemConfiguration
and 'MessageUI' and 'StoreKit' frameworks to your project (CocoaPods handles this for you) - Call
[Ask4AppReviews appLaunched:YES]
at the end of your app delegate'sapplication:didFinishLaunchingWithOptions:
method. - Call
[Ask4AppReviews appEnteredForeground:YES]
in your app delegate'sapplicationWillEnterForeground:
method. - (OPTIONAL) Call
[Ask4AppReviews userDidSignificantEvent:YES]
when the user does something 'significant' in the app. - Finally, set the
AppStoreId
in your project info.plist (AppStoreId) and 'DeveloperEmail' which is the email which the positive feedback goes too.
[Ask4AppReviews setAppId:@"552035781"];
[Ask4AppReviews setDaysUntilPrompt:1];
[Ask4AppReviews setUsesUntilPrompt:10];
[Ask4AppReviews setSignificantEventsUntilPrompt:-1];
[Ask4AppReviews setTimeBeforeReminding:2];
[Ask4AppReviews setDebug:YES];
Copyright 2014. 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