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

showPromptIfNecessary doesn't show the prompt #27

Closed MihaiSvet closed 9 years ago

MihaiSvet commented 9 years ago

showPromptIfNecessary doesn't show the prompt.

Here's my code:

+(void)initialize{
    [AppDelegate setupUAAppReviewManager];
}

+(void)setupUAAppReviewManager {
    [UAAppReviewManager setAppID:APPSTORE_ID];
    [UAAppReviewManager setDebug:YES];
}

-(void)applicationDidBecomeActive:(UIApplication *)application
{
    [UAAppReviewManager showPromptIfNecessary];
}

but if I call showPrompt it shows every time

coneybeare commented 9 years ago

showPromptIfNecessary checks all the criteria you have set against the recorded user behavior, not showing if those criteria haven't been met. I would try stepping through the checks to see where it is not being met, in order to determine why the rating prompt is not necessary yet.