简体   繁体   中英

App review page coming twice in AppStore while using Appirater

I implemented the Appirater in my application.It works fine. But when i click on Rate this App button on Appirater popup, it navigates me to Appstore to rate the app. when i click on 'Write a Review' button in AppStore and again same Page is coming, when i click Write review button for the second time, then it is allowing me to Review the app. How to fix this?This is my code

[Appirater setAppId:@"AppId"];
[Appirater setDaysUntilPrompt:0]; 
[Appirater setUsesUntilPrompt:3];
[Appirater setSignificantEventsUntilPrompt:-1]; 
[Appirater setDebug:NO];
[Appirater appLaunched:YES];

I had the same issue, and I had to move [Appirater appEnteredForeground:YES]; from:

- (void)applicationDidBecomeActive:(UIApplication *)application

to:

- (void)applicationWillEnterForeground:(UIApplication *)application
{
    [Appirater appEnteredForeground:YES];
}

I had put it in the wrong place initially

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM