iphoneobjective-ciosappirater

Appirater Usage


I have added Appirater to one of my projects. Appirater is ARC enabled out of box, as far as I can see, but I had the issue with the delegate, I had to synthesize it myself. That is not the problem though.

This is the code I added into my app delegate:

[Appirater setAppId:@"0101010101"];
    [Appirater setDaysUntilPrompt:-1];
    [Appirater setUsesUntilPrompt:-1];
    [Appirater setTimeBeforeReminding:2];
    [Appirater setDebug:YES];
    [Appirater appLaunched:YES];

For what I can see, after I pressed rate the app, Appirater should not ask for rating the app any more, there is no functions in it to set that user pressed "Rate". Pressing remind me later button should disable the Appirater alert for 2 days (see setTimeBeforeReminding:) but that does not work neither. Everytime I re-open the app, It just prompts me to rate my app, no matter what I click. Any ideas on how to use this class or a walkthrough?

Note: Using current version of appirater which is update 23 days ago, also has a class AppiraterDelegate, which I have not used.


Solution

  • if you set debug to YES it will ask to rate everytime you open the app. Set it to [Appirater setDebug:NO];