UrbanApps / UAAppReviewManager

UAAppReviewManager is a simple and lightweight App review prompting tool for iOS and Mac App Store apps. It's Appirater all grown up, ready for primetime.
MIT License
801 stars 117 forks source link

Possible feature addition: Make update alerts have different copy #20

Closed DimaVartanian closed 10 years ago

DimaVartanian commented 10 years ago

One thing I've seen some apps do is display slightly different copy when asking users to re-rate after an update instead of the same initial copy. Perhaps something to indicate there was an update. I think this is less confusing to users who have already rated the app and they will be more likely to do it again rather than thinking the alert is just a bug since they remember rating it earlier. Could be a set of new methods and defaults for this other alert. What do you guys think?

coneybeare commented 10 years ago

You could do this at runtime with the UAAppReviewManagerShouldPromptBlock

[UAAppReviewManager setShouldPromptBlock:^BOOL(NSDictionary *trackingInfo){
    NSString *ratedAnyVersionKey = [UAAppReviewManager keyForUAAppReviewManagerKeyType:UAAppReviewManagerKeyRatedAnyVersion];
    NSNumber *ratedAnyVersion = [trackingInfo objectForKey:ratedAnyVersionKey];

    if ([ratedAnyVersion boolValue]) {
        [UAAppReviewManager setReviewMessage:@"Please update..."];
    }

    return YES;
}];
DimaVartanian commented 10 years ago

Thanks!