how to setup significantEventsUntilPrompt?

202 views
Skip to first unread message

Grace C

unread,
Feb 16, 2014, 12:50:13 AM2/16/14
to appi...@googlegroups.com
Hi everyone,

I am having issues with setting up significantEventsUntilPrompt

I currently have a simple game that I want the prompt to launch after the 5th level.

This is the code so far:

static NSString *_appId = @"9999999";

static double _daysUntilPrompt = 0;

static NSInteger _usesUntilPrompt = 0;

static NSInteger _significantEventsUntilPrompt = 5;

static double _timeBeforeReminding = 1;

static BOOL _debug = NO;


Am I missing something?

Grace C

unread,
Feb 20, 2014, 10:48:13 AM2/20/14
to appi...@googlegroups.com
Anyone???

Arash Payan

unread,
Feb 24, 2014, 4:16:19 AM2/24/14
to appi...@googlegroups.com
Make sure to call this from your app delegate (in addition to the other Appirater methods)

[Appirater setSignificantEventsUntilPrompt:5]



Then everytime the user completes a level, call:

[Appirater userDidSignificantEvent:YES];

Hope that helps.
Reply all
Reply to author
Forward
0 new messages